lavf/chromaprint: Update for version 1.4

Fixes ticket #5997.
pull/242/head
Georgi D. Sotirov 8 years ago committed by Carl Eugen Hoyos
parent da3c69a5a9
commit 581f93f37e
  1. 4
      libavformat/chromaprint.c

@ -39,7 +39,11 @@ typedef struct ChromaprintMuxContext {
int silence_threshold; int silence_threshold;
int algorithm; int algorithm;
FingerprintFormat fp_format; FingerprintFormat fp_format;
#if CPR_VERSION_INT >= AV_VERSION_INT(1, 4, 0)
ChromaprintContext *ctx;
#else
ChromaprintContext ctx; ChromaprintContext ctx;
#endif
} ChromaprintMuxContext; } ChromaprintMuxContext;
static void cleanup(ChromaprintMuxContext *cpr) static void cleanup(ChromaprintMuxContext *cpr)

Loading…
Cancel
Save