projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808c6ac
)
[source_avcodec] define FF_API_LAVF_AVCTX for libavcodec > 59, thx @berolinux (closes...
fix/ffmpeg5
author
Paul Brossier
<piem@piem.org>
Tue, 25 Jan 2022 17:30:27 +0000
(18:30 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 25 Jan 2022 17:32:20 +0000
(18:32 +0100)
src/io/source_avcodec.c
patch
|
blob
|
history
diff --git
a/src/io/source_avcodec.c
b/src/io/source_avcodec.c
index
e0ae93b
..
1421bd9
100644
(file)
--- a/
src/io/source_avcodec.c
+++ b/
src/io/source_avcodec.c
@@
-68,6
+68,10
@@
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
#endif
+#if LIBAVCODEC_VERSION_MAJOR >= 59
+#define FF_API_LAVF_AVCTX 1
+#endif
+
struct _aubio_source_avcodec_t {
uint_t hop_size;
uint_t samplerate;