[FFmpeg-devel] [PATCH] Fix build with --disable-{encoders, muxers}

Diego Biurrun diego
Fri Sep 18 21:46:44 CEST 2009

On Tue, Sep 15, 2009 at 08:42:45PM +0000, Jai Menon wrote:
> I think the snow code doesnt conditionally exclude encoder specific
> functionality during compilation and references functions (eg.
> h263_encode_init) which arent compiled in. Ex - ./configure .....
> --disable-encoders --disable--muxers....
> Attached patch might not be complete and maybe more functions can be
> folded into an #if CONFIG_ENCODERS. But it fixes the build for me.

I finally managed to reproduced it.  You forgot to mention your complete
configure line, especially --disable-optimizations, which caused the

Fixed without introducing more #ifdefs.


More information about the ffmpeg-devel mailing list