[FFmpeg-cvslog] RoQ decoder: Remove misleading diagnostics.
addr-see-the-website@aetey.se
git at videolan.org
Sat Feb 1 23:07:55 CET 2014
ffmpeg | branch: master | addr-see-the-website at aetey.se <addr-see-the-website at aetey.se> | Wed Jan 29 14:33:45 2014 +0100| [80a79f2641367fdc8db37d8ff52438e61c826d8e] | committer: Michael Niedermayer
RoQ decoder: Remove misleading diagnostics.
It is not necessarily an error when a chunk does not cover a whole block.
Messages did not reflect the actual situation either.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=80a79f2641367fdc8db37d8ff52438e61c826d8e
---
libavcodec/roqvideodec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c
index 8e7dffe..322345e 100644
--- a/libavcodec/roqvideodec.c
+++ b/libavcodec/roqvideodec.c
@@ -79,7 +79,7 @@ static void roqvideo_decode_frame(RoqContext *ri)
for (yp = ypos; yp < ypos + 16; yp += 8)
for (xp = xpos; xp < xpos + 16; xp += 8) {
if (bytestream2_tell(&ri->gb) >= chunk_start + chunk_size) {
- av_log(ri->avctx, AV_LOG_ERROR, "Input buffer too small\n");
+ av_log(ri->avctx, AV_LOG_VERBOSE, "Chunk is too short\n");
return;
}
if (vqflg_pos < 0) {
@@ -114,7 +114,7 @@ static void roqvideo_decode_frame(RoqContext *ri)
if(k & 0x02) y += 4;
if (bytestream2_tell(&ri->gb) >= chunk_start + chunk_size) {
- av_log(ri->avctx, AV_LOG_ERROR, "Input buffer too small\n");
+ av_log(ri->avctx, AV_LOG_VERBOSE, "Chunk is too short\n");
return;
}
if (vqflg_pos < 0) {
More information about the ffmpeg-cvslog
mailing list