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

Emiliano Parasassi millallo
Mon Oct 24 13:03:01 CEST 2005

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: encoders.patch
Type: text/x-patch
Size: 2331 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051024/5ecaa5e0/attachment.bin>

More information about the ffmpeg-devel mailing list