[Ffmpeg-devel] [PATCH] mpegvideo.c fix warnings about uninitialized vars

Luca Barbato lu_zero
Sat Jan 27 13:15:24 CET 2007


Michael Niedermayer wrote:
> Hi
> 
>> -        if(!i || s->input_picture[i-1]){
>> +        if(pre_input_ptr && (!i || s->input_picture[i-1]))
> 
> i think this condition is more complex then needed, a if(pre_input_ptr) might
> be enough
> 
I kept the logic as it was before, I'll commit a simplification on a 
second commit if you think is ok.

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list