Conversion bug.
This commit is contained in:
@@ -268,7 +268,9 @@
|
||||
(_fun _AVChannelLayout-pointer -> _void))
|
||||
|
||||
(define (ffmpeg-make-default-channel-layout channels)
|
||||
(let ((p (malloc (ctype-sizeof _AVChannelLayout) 'atomic-interior)))
|
||||
(let ((p (cast (malloc (ctype-sizeof _AVChannelLayout) 'atomic-interior)
|
||||
_pointer
|
||||
_AVChannelLayout-pointer)))
|
||||
(av_channel_layout_default p channels)
|
||||
p))
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
(module pcm-converter racket/base
|
||||
|
||||
(require ffi/unsafe
|
||||
"../ffmpeg-definitions.rkt"
|
||||
"utils.rkt")
|
||||
"utils.rkt"
|
||||
"../ffmpeg-definitions.rkt")
|
||||
|
||||
(provide pcm-conversion-needed?
|
||||
make-pcm-converter
|
||||
|
||||
Reference in New Issue
Block a user