Commit 4472ad2c authored by Reimar Döffinger's avatar Reimar Döffinger

Fix a too small CHECK_STREAM_PTR value in interplayvideo.c

Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 30266c92
...@@ -258,8 +258,7 @@ static int ipvideo_decode_block_opcode_0x8(IpvideoContext *s) ...@@ -258,8 +258,7 @@ static int ipvideo_decode_block_opcode_0x8(IpvideoContext *s)
if (P[0] <= P[1]) { if (P[0] <= P[1]) {
/* need 12 more bytes */ CHECK_STREAM_PTR(14);
CHECK_STREAM_PTR(12);
B[0] = *s->stream_ptr++; B[1] = *s->stream_ptr++; B[0] = *s->stream_ptr++; B[1] = *s->stream_ptr++;
P[2] = *s->stream_ptr++; P[3] = *s->stream_ptr++; P[2] = *s->stream_ptr++; P[3] = *s->stream_ptr++;
B[2] = *s->stream_ptr++; B[3] = *s->stream_ptr++; B[2] = *s->stream_ptr++; B[3] = *s->stream_ptr++;
......
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