diff options
author | 2014-01-14 10:06:53 +0000 | |
---|---|---|
committer | 2014-01-14 10:06:53 +0000 | |
commit | 058bbc9a987655bd1499da0562a585aac809d9fe (patch) | |
tree | 617b0c12a227ea6b48d42b562390007a9618521e /media-libs/chromaprint/files | |
parent | Version bump. (diff) | |
download | gentoo-2-058bbc9a987655bd1499da0562a585aac809d9fe.tar.gz gentoo-2-058bbc9a987655bd1499da0562a585aac809d9fe.tar.bz2 gentoo-2-058bbc9a987655bd1499da0562a585aac809d9fe.zip |
Fixed compilation with ffpmeg-2 when "tools" USE flag is enabled (bug #472966)
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'media-libs/chromaprint/files')
-rw-r--r-- | media-libs/chromaprint/files/chromaprint-1.1-ffmpeg2.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/chromaprint/files/chromaprint-1.1-ffmpeg2.patch b/media-libs/chromaprint/files/chromaprint-1.1-ffmpeg2.patch new file mode 100644 index 000000000000..2a68de3105dc --- /dev/null +++ b/media-libs/chromaprint/files/chromaprint-1.1-ffmpeg2.patch @@ -0,0 +1,13 @@ +--- chromaprint-1.1/src/ext/ffmpeg_decoder.h ++++ chromaprint-1.1/src/ext/ffmpeg_decoder.h +@@ -28,6 +28,10 @@ + } + #include "audio_consumer.h" + ++#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE ++# define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 ++#endif ++ + class Decoder + { + public: |