From 4472ad2cc444fce9060f1506218b1e45692387ca Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Tue, 31 Mar 2009 18:23:52 +0000 Subject: Fix a too small CHECK_STREAM_PTR value in interplayvideo.c Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/interplayvideo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavcodec/interplayvideo.c') diff --git a/libavcodec/interplayvideo.c b/libavcodec/interplayvideo.c index 3062339d00..8ef365dea6 100644 --- a/libavcodec/interplayvideo.c +++ b/libavcodec/interplayvideo.c @@ -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++; -- cgit v1.2.3