Fix a too small CHECK_STREAM_PTR value in interplayvideo.c
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 31 Mar 2009 18:23:52 +0000 (18:23 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 31 Mar 2009 18:23:52 +0000 (18:23 +0000)
Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/interplayvideo.c

index 3062339..8ef365d 100644 (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++;