10l (negative strides)
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Jan 2005 17:04:34 +0000 (17:04 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Jan 2005 17:04:34 +0000 (17:04 +0000)
Originally committed as revision 3887 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp3.c

index 8b90438..f99b383 100644 (file)
@@ -2094,7 +2094,7 @@ static void render_fragments(Vp3DecodeContext *s,
         lower_motion_limit = height * s->current_frame.linesize[2] + width - 8;
     }
     
-    if((unsigned)stride > 2048)
+    if(ABS(stride) > 2048)
         return; //various tables are fixed size
 
     /* for each fragment row... */