[FFmpeg-devel] [PATCH] fix build with --disable-encoders

Reimar Döffinger Reimar.Doeffinger
Sat Feb 23 13:25:44 CET 2008


On Sat, Feb 23, 2008 at 12:22:50PM +0000, M?ns Rullg?rd wrote:
> Alexander Strange <astrange at ithinksw.com> writes:
> 
> > On Feb 22, 2008, at 2:56 PM, Michael Niedermayer wrote:
> >>>
> >>
> >> Why is there an #ifdef CONFIG_ENCODERS there at all?
> >> Its gccs job to omit unused static functions.
> >>
> >> [...]
> >
> > Well, if you want...
> >
> > Attached patches:
> > * remove those uses of CONFIG_ENCODERS from dsputil_mmx
> > * add -Wno-unused-function to the build
> 
> I don't like this.  The warning about unused stuff often helps spot
> dead code that should be removed.

av_unused is the option used previously...




More information about the ffmpeg-devel mailing list