Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-03-31 22:23:52 +0400
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-03-31 22:23:52 +0400
commit4472ad2cc444fce9060f1506218b1e45692387ca (patch)
treeeb325d6018bf28d68e93903b68b047b290fb1bde /libavcodec/interplayvideo.c
parent30266c928682c41abb091536c043dadb297cd60f (diff)
Fix a too small CHECK_STREAM_PTR value in interplayvideo.c
Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/interplayvideo.c')
-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++;