From edaf11e87a7f04cea4e5e66251db836cba8c9371 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 26 Jan 2005 17:04:34 +0000 Subject: [PATCH] 10l (negative strides) Originally committed as revision 3887 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 8b90438d20..f99b383584 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -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... */