[Ffmpeg-devel] [PATCH] disabling encoders in libavformat

Michael Niedermayer michaelni
Sun Sep 18 15:38:46 CEST 2005


Hi

On Sun, Sep 18, 2005 at 01:13:24PM +0100, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> > Hi
> >
> > On Sun, Sep 18, 2005 at 09:48:12AM +0200, Gianluigi Tiesi wrote:
> >> libavformat has some problem to compile when CONFIG_ENCODERS is not
> >> defined, this patch make it works.
> >> Yes the output of this patch can look not much clean,
> >> but I've not "moved" any code block, doing this the patch would be
> >> big but ifdef are less.
> >
> > rejected, disabling encoders should not disable (random) muxers
> >
> > most CONFIG_ENCODERS in libavformat should probably be renamed to
> > CONFIG_MUXERS or so
> 
> They should be individually selectable just like the codecs.

yes, certainly, but there would still be a few common parts needed by all
muxers which would be under CONFIG_MUXERS, and a search and replace of
CONFIG_ENCODERS -> CONFIG_MUXERS seems like a possible step toward this
but its certainly possible to skip this and immedeatly add per (De)Muxer
#ifdefs and CONFIG_MUXERS for the common parts

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list