Browse Source

Fix a too small CHECK_STREAM_PTR value in interplayvideo.c

Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger 17 years ago
parent
commit
4472ad2cc4
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/interplayvideo.c

+ 1
- 2
libavcodec/interplayvideo.c 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++;


Loading…
Cancel
Save