diff options
Diffstat (limited to 'chromaprint1.4.patch')
-rw-r--r-- | chromaprint1.4.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chromaprint1.4.patch b/chromaprint1.4.patch new file mode 100644 index 000000000000..328ab9d333b6 --- /dev/null +++ b/chromaprint1.4.patch @@ -0,0 +1,16 @@ +diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c +index 8c9a6c0..4da02be 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) |