Commit edaf11e8 authored by Michael Niedermayer's avatar Michael Niedermayer

10l (negative strides)

Originally committed as revision 3887 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0c040aac
...@@ -2094,7 +2094,7 @@ static void render_fragments(Vp3DecodeContext *s, ...@@ -2094,7 +2094,7 @@ static void render_fragments(Vp3DecodeContext *s,
lower_motion_limit = height * s->current_frame.linesize[2] + width - 8; 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 return; //various tables are fixed size
/* for each fragment row... */ /* for each fragment row... */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment