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
1 changed files with 4 additions and 0 deletions

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)