Fix a too small CHECK_STREAM_PTR value in interplayvideo.c

Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-03-31 18:23:52 +00:00
parent 30266c9286
commit 4472ad2cc4

View File

@ -258,8 +258,7 @@ static int ipvideo_decode_block_opcode_0x8(IpvideoContext *s)
if (P[0] <= P[1]) {
/* need 12 more bytes */
CHECK_STREAM_PTR(12);
CHECK_STREAM_PTR(14);
B[0] = *s->stream_ptr++; B[1] = *s->stream_ptr++;
P[2] = *s->stream_ptr++; P[3] = *s->stream_ptr++;
B[2] = *s->stream_ptr++; B[3] = *s->stream_ptr++;