Skip to content

Commit

Permalink
Slightly clean up the ffmpeg API.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifAndersen committed May 31, 2017
1 parent d203b1a commit 3f4eef8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions video/private/ffmpeg.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
(define AVERROR-EOF (FFERRTAG #\E #\O #\F))
(define AV-NUM-DATA-POINTERS 8)
(define MAX-REORDER-DELAY 16)
(define EAGAIN 35)
(define EAGAIN (lookup-errno 'EAGAIN))
(define EINVAL (lookup-errno 'EINVAL))

(define SWS-BILINEAR 2)

Expand Down Expand Up @@ -595,7 +596,7 @@

(define-cstruct _av-frame
([data (_array _pointer AV-NUM-DATA-POINTERS)]
[linesize (_array _pointer AV-NUM-DATA-POINTERS)]
[linesize (_array _int AV-NUM-DATA-POINTERS)]
[extended-data _pointer]
[width _int]
[height _int]
Expand Down

0 comments on commit 3f4eef8

Please sign in to comment.