changeset 2466:acfea8a94bf8 libavcodec

10l (negative strides)
author michael
date Wed, 26 Jan 2005 17:04:34 +0000
parents 5565203c95ee
children 0b3697268285
files vp3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vp3.c	Wed Jan 26 12:01:35 2005 +0000
+++ b/vp3.c	Wed Jan 26 17:04:34 2005 +0000
@@ -2094,7 +2094,7 @@
         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... */