1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavf/chromaprint: Update for version 1.4

Fixes ticket #5997.
This commit is contained in:
Georgi D. Sotirov 2016-12-06 21:07:59 +01:00 committed by Carl Eugen Hoyos
parent da3c69a5a9
commit 581f93f37e

View File

@ -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)