diff options
author | Georgi D. Sotirov <gdsotirov@dir.bg> | 2016-12-06 21:07:59 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-12-06 21:07:59 +0100 |
commit | 581f93f37ef2e7a00662828ed0348d1edb9041fe (patch) | |
tree | 59881cb8038f9778d1bb7d22fadcc4c69d54a871 /libavformat/chromaprint.c | |
parent | da3c69a5a97d0f8ce6522b9c15f7a2c5027cf572 (diff) | |
download | ffmpeg-581f93f37ef2e7a00662828ed0348d1edb9041fe.tar.gz |
lavf/chromaprint: Update for version 1.4
Fixes ticket #5997.
Diffstat (limited to 'libavformat/chromaprint.c')
-rw-r--r-- | libavformat/chromaprint.c | 4 |
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) |