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

Måns Rullgård mans
Sat Feb 23 13:22:50 CET 2008


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.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list