mirror of https://git.ffmpeg.org/ffmpeg.git
Simplify check for leftover bytes after decoding for interplayvideo.
Originally committed as revision 18223 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
49da3b7df2
commit
3017d8e9d7
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue