commit d8aa2c166fd306cc875f731d070f676bc66f5af2
Author: Jan Rękorajski <[email protected]>
Date: Thu Aug 29 18:07:14 2013 +0200
- more ffmpeg2 fixes
chromaprint-ffmpeg2.0.patch | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
---
diff --git a/chromaprint-ffmpeg2.0.patch b/chromaprint-ffmpeg2.0.patch
index 6640258..7125cd8 100644
--- a/chromaprint-ffmpeg2.0.patch
+++ b/chromaprint-ffmpeg2.0.patch
@@ -29,3 +29,27 @@
break;
}
buffer = buffer2;
+--- chromaprint-0.7/src/ext/ffmpeg_decoder.h~ 2013-08-29 17:59:01.185761084
+0200
++++ chromaprint-0.7/src/ext/ffmpeg_decoder.h 2013-08-29 18:01:51.129329962
+0200
+@@ -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:
+--- chromaprint-0.7/src/ext/ffmpeg_decoder.h~ 2013-08-29 18:01:51.129329962
+0200
++++ chromaprint-0.7/src/ext/ffmpeg_decoder.h 2013-08-29 18:06:34.402639744
+0200
+@@ -128,7 +128,7 @@
+ return false;
+ }
+
+- if (avcodec_open(m_codec_ctx, codec) < 0) {
++ if (avcodec_open2(m_codec_ctx, codec, NULL) < 0) {
+ m_error = "Couldn't open the codec.";
+ return false;
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chromaprint.git/commitdiff/d8aa2c166fd306cc875f731d070f676bc66f5af2
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit