Hello FFmpeg community,
In new Chromaprint 1.4 (that was released 2016-12-03) type
ChromaprintContext is no longer void *, but empty structure (see commit
2132e19 [1] from 2016-06-06 in BitBucket). This breaks compilation of
libavformat/chromaprint.c, because member ctx of ChromaprintMuxContext
should be pointer. This simple change resolves the problem.
diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c
index de73181..8c9a6c0 100644
--- a/libavformat/chromaprint.c
+++ b/libavformat/chromaprint.c
@@ -39,11 +39,7 @@ 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)
I hope you apply the patch.
[1]
https://bitbucket.org/acoustid/chromaprint/commits/2132e1966f240939d1cbb757f8ac7d9cbf53c824
Best Regards,
---
Georgi D. Sotirov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel