[FFmpeg-devel] [PATCH] Update for Chromaprint 1.4

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Dec 6 22:09:42 EET 2016


2016-12-06 15:02 GMT+01:00 Georgi D. Sotirov <gdsotirov at dir.bg>:

> 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

I applied your patch, please use git format-patch in the future.

Carl Eugen


More information about the ffmpeg-devel mailing list