Browse Source

Simplify check for leftover bytes after decoding for interplayvideo.

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

+ 1
- 2
libavcodec/interplayvideo.c View File

@@ -825,8 +825,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
}
}
}
if ((s->stream_ptr != s->stream_end) &&
(s->stream_ptr + 1 != s->stream_end)) {
if (s->stream_end - s->stream_ptr > 1) {
av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode finished with %td bytes left over\n",
s->stream_end - s->stream_ptr);
}


Loading…
Cancel
Save