projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49da3b7
)
Simplify check for leftover bytes after decoding for interplayvideo.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 29 Mar 2009 17:42:03 +0000
(17:42 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 29 Mar 2009 17:42:03 +0000
(17:42 +0000)
Originally committed as revision 18223 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/interplayvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/interplayvideo.c
b/libavcodec/interplayvideo.c
index 28840da82bd4c9d910aee0a8d89b43d5bc42c6d6..529c3193efc7acc7e395795f1e4cf70d9a93d3bb 100644
(file)
--- a/
libavcodec/interplayvideo.c
+++ b/
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);
}