[FFmpeg-soc] [soc]: r1601 - libavfilter/diffs/04_ffmpeg_filters.diff
Vitor
vitor1001 at gmail.com
Wed Dec 19 17:19:26 CET 2007
Hi
Aurelien Jacobs wrote:
> vitor wrote:
[...]
>> }
>> }
>> ++#if ENABLE_AVFILTER
>> + if(ist->picref)
>> + avfilter_unref_pic(ist->picref);
>> -+
>> ++#endif
>
> IMO, this would be nicer written this way:
>
> if (ENABLE_AVFILTER && ist->picref)
> avfilter_unref_pic(ist->picref);
>
> Aurel
Would this be valid C99? Because ist has no member named picref if
ENABLE_AVFILTER is false...
-Vitor
More information about the FFmpeg-soc
mailing list