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

Michael Niedermayer michaelni
Wed Oct 26 14:11:52 CEST 2005


On Mon, Oct 24, 2005 at 01:03:01PM +0200, Emiliano Parasassi wrote:
> Hi,
> 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