[Ffmpeg-devel] [PATCH] configure.c: CONFIG_ENCODERS
Måns Rullgård
mru
Sat May 7 22:37:32 CEST 2005
Rich Felker <dalias at aerifal.cx> writes:
> On Sat, May 07, 2005 at 09:32:20PM +0200, Roine Gustafsson wrote:
>>
>> On May 7, 2005, at 8:19 PM, M?ns Rullg?rd wrote:
>>
>> >Roine Gustafsson <roine at users.sourceforge.net> writes:
>> >
>> >>Patch sets CONFIG_ENCODERS and CONFIG_DECODERS depending on wether the
>> >>user has added any encoders or decoders.
>> >>The idea is to use CONFIG_[EN|DE]CODERS for libavformat and use
>> >>CONFIG_<x>_[EN|DE]CODER for libavcodec.
>> >>Then libavformat would have no 'encoders' (muxers) if libavcodec has
>> >>no encoders at all.
>> >
>> >You might still want the ability to mux streams from other encoders,
>> >or copied from the input.
>>
>> You might have misunderstood: If there are ANY decoders, it will enable
>> ALL demuxers, and similar for encoders.
>
> Yes, this is wrong. There's no reason you need decoders to use
> demuxers, and no reason you need encoders to use muxers.
The requirement of decoders for demuxers is a design flaw in
libavformat. Fixing it now will not be easy.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list