On 27/03/15 1:50 PM, Michael Niedermayer wrote: > On Fri, Mar 27, 2015 at 05:01:58PM +0100, Pascal Massimino wrote: >> Michael, >> >> On Fri, Mar 27, 2015 at 1:37 PM, Michael Niedermayer <michae...@gmx.at> >> wrote: >> >>> On Fri, Mar 27, 2015 at 11:02:09AM +0100, Pascal Massimino wrote: >>>> Hi, >>>> >>>> $subject >>>> >>>> $attached says: >>>> ------------------------------------------------------------------------ >>>> This API is available at head (MUX_ABI_VERSION >= 0x0104), is stable, >>>> and will be made official in future release. >>>> For compatibility, the previous code is left as fallback. >>>> >>>> Dont' forget to use --enable-libwebp as ./configure option. >>>> >>>> This new code handles video, so that something like >>>> ffmpeg -i video.mp4 -y anim.webp >>>> should just work. >>>> >>>> -loop option is also supported. >>>> ------------------------------------------------------------------------ >>>> >>>> Comments welcome! >>>> skal/ >>> >>> breaks build if libwebp* is unavailable >>> make >>> CC libavformat/webpenc.o >>> /home/michael/ffmpeg-git/ffmpeg/libavformat/webpenc.c:27:25: fatal error: >>> webp/encode.h: No such file or directory >>> >> >> oh indeed. What would you recommend as #ifdef protection? Do we need a new >> #define? > > yes > see configure HEADERS_LIST and check_header
CONFIG_LIBWEBP should be enough, it guarantees webp/encode.h exists. No need for a new header. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel