Corrected a small bug in libao-async-ffi-racket, that I corrected earlier. ffmpeg-definitions now handles ffmpeg 6.x libraries, because the structs are different for avutil and avcodec

This commit is contained in:
2026-05-11 11:41:06 +02:00
parent 84f4719513
commit 29cf56a6d2
2 changed files with 209 additions and 122 deletions
+2 -2
View File
@@ -756,9 +756,9 @@
(let ((ao-size buf-size)
(ao-mem au-buf))
(let ((m (convert-req-bits-to-dev-bits h mem info)))
(let ((m (convert-req-bits-to-dev-bits h au-buf info)))
(when (eq? (cadr m) #t)
(reuse-buf h mem)
(reuse-buf h au-buf)
(set! ao-mem (car m))
(set! ao-size (mem-size ao-mem))))