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

Michael Niedermayer michaelni
Sat Jan 27 13:59:01 CET 2007


Hi

On Sat, Jan 27, 2007 at 01:15:24PM +0100, Luca Barbato wrote:
> 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.

ok

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

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- 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/5627737d/attachment.pgp>



More information about the ffmpeg-devel mailing list