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

Michael Niedermayer michaelni
Sat Jan 27 11:56:58 CET 2007


Hi

On Sat, Jan 27, 2007 at 08:30:10AM +0100, Luca Barbato wrote:
> Luca Barbato wrote:
> >
> [never go to sleep before sending emails...]
> 
> lu
> 
> -- 
> 
> Luca Barbato
> 
> Gentoo/linux Gentoo/PPC
> http://dev.gentoo.org/~lu_zero
> 
[...]

> -        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

except that patch ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070127/29a977a9/attachment.pgp>



More information about the ffmpeg-devel mailing list