[Ffmpeg-devel] [PATCH] avoid registration of decoders if only encoders are choosed

Guillaume Poirier guillaume.poirier
Wed Oct 26 14:51:31 CEST 2005


Michael Niedermayer wrote:
> Hi
> On Mon, Oct 24, 2005 at 01:03:01PM +0200, Emiliano Parasassi wrote:
>>I use ffmpeg only for encoding, so i'dont want decoders... ;)
>>I'have notice that although CONFIG_DECODERS is undefined
>>in config.h, adpcm_*, pcm_* and rawvideo decoders are registered in
>>avcodec_register_all() funcition.
>>This little patch avoids the registration of DECODERS if only 
>>CONFIG_DECODERS is not defined.
> patch looks ok, can be applied



More information about the ffmpeg-devel mailing list