aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-03-31 18:23:52 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-03-31 18:23:52 +0000
commit4472ad2cc444fce9060f1506218b1e45692387ca (patch)
treeeb325d6018bf28d68e93903b68b047b290fb1bde
parent30266c928682c41abb091536c043dadb297cd60f (diff)
downloadffmpeg-4472ad2cc444fce9060f1506218b1e45692387ca.tar.gz
Fix a too small CHECK_STREAM_PTR value in interplayvideo.c
Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/interplayvideo.c3
1 files changed, 1 insertions, 2 deletions
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++;