[FFmpeg-cvslog] lavf/chromaprint: Update for version 1.4

Georgi D. Sotirov git at videolan.org
Tue Dec 6 22:09:02 EET 2016


ffmpeg | branch: master | Georgi D. Sotirov <gdsotirov at dir.bg> | Tue Dec  6 21:07:59 2016 +0100| [581f93f37ef2e7a00662828ed0348d1edb9041fe] | committer: Carl Eugen Hoyos

lavf/chromaprint: Update for version 1.4

Fixes ticket #5997.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=581f93f37ef2e7a00662828ed0348d1edb9041fe
---

 libavformat/chromaprint.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c
index 8c9a6c0..4da02be 100644
--- a/libavformat/chromaprint.c
+++ b/libavformat/chromaprint.c
@@ -39,7 +39,11 @@ typedef struct ChromaprintMuxContext {
     int silence_threshold;
     int algorithm;
     FingerprintFormat fp_format;
+#if CPR_VERSION_INT >= AV_VERSION_INT(1, 4, 0)
+    ChromaprintContext *ctx;
+#else
     ChromaprintContext ctx;
+#endif
 } ChromaprintMuxContext;
 
 static void cleanup(ChromaprintMuxContext *cpr)



More information about the ffmpeg-cvslog mailing list