Commit c07dd69d authored by reimar's avatar reimar

Simplify check for leftover bytes after decoding for interplayvideo.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18223 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c780be8a
...@@ -825,8 +825,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s) ...@@ -825,8 +825,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
} }
} }
} }
if ((s->stream_ptr != s->stream_end) && if (s->stream_end - s->stream_ptr > 1) {
(s->stream_ptr + 1 != s->stream_end)) {
av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode finished with %td bytes left over\n", av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode finished with %td bytes left over\n",
s->stream_end - s->stream_ptr); 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