projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c04fb8
)
[source_avcodec] use #elif for conciseness, thanks to @bkuhls (closes gh-427)
author
Paul Brossier
<piem@piem.org>
Sat, 15 Nov 2025 10:44:50 +0000
(11:44 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 15 Nov 2025 11:06:23 +0000
(12:06 +0100)
src/io/source_avcodec.c
patch
|
blob
|
history
diff --git
a/src/io/source_avcodec.c
b/src/io/source_avcodec.c
index
1fb14bf
..
5ebaff1
100644
(file)
--- a/
src/io/source_avcodec.c
+++ b/
src/io/source_avcodec.c
@@
-66,13
+66,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)
+#elif 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
#define FF_API_LAVF_AVCTX 1