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

Jai Menon jmenon86
Wed Sep 16 08:01:52 CEST 2009


On Wed, Sep 16, 2009 at 2:23 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Tue, Sep 15, 2009 at 08:42:45PM +0000, Jai Menon wrote:
>> Hi,
>>
>> 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.
>
> iam against adding dozends of #ifs in snow.c

Fair enough, but is there any other way then, that is without having
to disable the decoder as well? The only reason I brought this up is
(given the fact the buildsystem allows for such ./configure'ations),
users might end up trying this and report these as issues....

-- 
Regards,

Jai



More information about the ffmpeg-devel mailing list