Simplify check for leftover bytes after decoding for interplayvideo.

Originally committed as revision 18223 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Reimar Döffinger 16 years ago
parent 49da3b7df2
commit 3017d8e9d7
  1. 3
      libavcodec/interplayvideo.c

@ -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