On 27/03/15 7:02 AM, Pascal Massimino wrote:
> diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c
> index ee110de..d4411a9 100644
> --- a/libavformat/webpenc.c
> +++ b/libavformat/webpenc.c
> @@ -24,10 +24,20 @@
>  #include "avformat.h"
>  #include "internal.h"
>  
> +#include <webp/encode.h>
> +#if (WEBP_ENCODER_ABI_VERSION >= 0x0206)
> +#include <webp/mux.h>
> +#if (WEBP_MUX_ABI_VERSION >= 0x0104)
> +#define USE_WEBP_ANIMENCODER
> +#endif
> +#endif

While checking for CONFIG_LIBWEBP would be enough to know if webp/encode.h is 
available 
here as i mentioned in a previous email, it doesn't guarantee that webp/mux.h 
is available 
as well, so you will need to add webp_mux_h to HEADERS_LIST in configure (the 
check for 
libwebpmux you already added will enable it if available) and use the resulting 
define.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to