summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-01-26 17:04:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-26 17:04:34 +0000
commitedaf11e87a7f04cea4e5e66251db836cba8c9371 (patch)
treeba31d2ee990d985851a70cb514f87b6d84c9196f /libavcodec/vp3.c
parent0c040aacbeef506793e619771f1f173107bde259 (diff)
10l (negative strides)
Originally committed as revision 3887 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c2
1 files changed, 1 insertions, 1 deletions
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... */