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

Alexander Strange astrange
Sat Feb 23 20:59:53 CET 2008


On Feb 23, 2008, at 1:32 PM, M?ns Rullg?rd wrote:

>> Index: configure
>> ===================================================================
>> --- configure	(revision 12181)
>> +++ configure	(working copy)
>> @@ -1788,6 +1788,7 @@
>> check_cflags -Wwrite-strings
>> check_cflags -Wtype-limits
>> enabled extra_warnings && check_cflags -Winline
>> +enabled_any $ENCODER_LIST || check_cflags -Wno-unused-function
>
> That way lies a big mess, not unlike the one we had before I cleaned
> up the configure script.

Yeah, unfortunately.

> I really don't understand why Michael doesn't like placing stuff
> inside #ifdef CONFIG_ENCODERS.

Well, I'll leave you two to figure it out. This patch isn't essential,  
and the warnings aren't really important to me - there's enough as it  
is, and this isn't the default configuration. As long as it actually  
builds I'm happy!



More information about the ffmpeg-devel mailing list