diff options
author | 2018-04-20 16:51:11 +0200 | |
---|---|---|
committer | 2018-04-20 20:11:56 +0200 | |
commit | cc722585c1aa2e0d59093d53c8f466e51ae8aa60 (patch) | |
tree | b82509cfd9a8f3bc0426a7e196974afdfc6252bb /media-libs/aubio/files | |
parent | media-libs/mesa: Drop old version (diff) | |
download | gentoo-cc722585c1aa2e0d59093d53c8f466e51ae8aa60.tar.gz gentoo-cc722585c1aa2e0d59093d53c8f466e51ae8aa60.tar.bz2 gentoo-cc722585c1aa2e0d59093d53c8f466e51ae8aa60.zip |
media-libs/aubio: fix build with ffmpeg4
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'media-libs/aubio/files')
-rw-r--r-- | media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch b/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch new file mode 100644 index 000000000000..7df4665655bb --- /dev/null +++ b/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch @@ -0,0 +1,13 @@ +Index: aubio-0.4.6/src/io/source_avcodec.c +=================================================================== +--- aubio-0.4.6.orig/src/io/source_avcodec.c ++++ aubio-0.4.6/src/io/source_avcodec.c +@@ -58,7 +58,7 @@ + #include "fmat.h" + #include "source_avcodec.h" + +-#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE ++#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE + + struct _aubio_source_avcodec_t { + uint_t hop_size; |