projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de19b1
)
[source_avcodec] fix build with ffmpeg 8.0
author
Bernd Kuhls
<bernd@kuhls.net>
Sun, 5 Oct 2025 09:37:52 +0000
(11:37 +0200)
committer
Paul Brossier
<piem@piem.org>
Sat, 15 Nov 2025 10:42:59 +0000
(11:42 +0100)
AV_INPUT_BUFFER_MIN_SIZE was removed with upstream commit
https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=
1d66a122df9fd5d8400b05c74462d0082990fc01
A similar fix is used by Arch Linux:
https://gitlab.archlinux.org/archlinux/packaging/packages/aubio/-/commit/
bdf858e4291aa170a23c470ac1caf2c827bfd01d
src/io/source_avcodec.c
patch
|
blob
|
history
diff --git
a/src/io/source_avcodec.c
b/src/io/source_avcodec.c
index
71ea8b5
..
1fb14bf
100644
(file)
--- a/
src/io/source_avcodec.c
+++ b/
src/io/source_avcodec.c
@@
-67,7
+67,11
@@
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(56, 56, 0)
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
#else
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 40, 100)
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
+#else
+#define AUBIO_AVCODEC_MAX_BUFFER_SIZE 16384
+#endif
#endif
#if LIBAVCODEC_VERSION_MAJOR >= 59