Commit 3017d8e9 authored by Reimar Döffinger's avatar Reimar Döffinger

Simplify check for leftover bytes after decoding for interplayvideo.

Originally committed as revision 18223 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 49da3b7d
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment