[FFmpeg-devel] [PATCH] Fix build with --disable-swscale

Michael Niedermayer michaelni
Fri May 7 20:53:10 CEST 2010


On Fri, May 07, 2010 at 06:45:01PM +0200, Vladimir Pantelic wrote:
> M?ns Rullg?rd wrote:
>
>> Alternative:
>>
>> diff --git a/cmdutils.c b/cmdutils.c
>> index 7a58cea..80917c3 100644
>> --- a/cmdutils.c
>> +++ b/cmdutils.c
>> @@ -609,6 +609,11 @@ void show_pix_fmts(void)
>>           "FLAGS NAME            NB_COMPONENTS BITS_PER_PIXEL\n"
>>           "-----\n");
>>
>> +#if !CONFIG_SWSCALE
>> +#   define sws_isSupportedInput(x)  0
>> +#   define sws_isSupportedOutput(x) 0
>> +#endif
>> +
>>       for (pix_fmt = 0; pix_fmt<  PIX_FMT_NB; pix_fmt++) {
>>           const AVPixFmtDescriptor *pix_desc 
>> =&av_pix_fmt_descriptors[pix_fmt];
>>           printf("%c%c%c%c%c %-16s       %d            %2d\n",
>>
>
> attached
>

>  cmdutils.c |    9 +++++++++
>  1 file changed, 9 insertions(+)
> 416a81cf12b76b56e9ab6ec0c98e1918f3f0ae68  ffmpeg_cmdutils.2.patch

ok

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100507/45a75806/attachment.pgp>



More information about the ffmpeg-devel mailing list