10l (negative strides)

Originally committed as revision 3887 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 20 years ago
parent 0c040aacbe
commit edaf11e87a
  1. 2
      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... */

Loading…
Cancel
Save