aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgi D. Sotirov <gdsotirov@dir.bg>2016-12-06 21:07:59 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2017-01-15 11:53:41 +0100
commit41f8a8843d211d21accac444d7b46ab9b3db6f01 (patch)
tree154d082ef069f6305445381fa2210f31a80568b5
parent64bb329afa9a2fdeeff514a5fe7a89d08552bf42 (diff)
downloadffmpeg-41f8a8843d211d21accac444d7b46ab9b3db6f01.tar.gz
lavf/chromaprint: Update for version 1.4
Fixes ticket #5997. (cherry picked from commit 581f93f37ef2e7a00662828ed0348d1edb9041fe) Fixes Debian bug 841501.
-rw-r--r--libavformat/chromaprint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c
index 8c9a6c0111..4da02bef76 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)