[FFmpeg-devel] [PATCH 4/4] svq1dec: use log level that have more common sense

Paul B Mahol onemda at gmail.com
Sun Oct 14 11:24:01 CEST 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/svq1dec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index 8341a9a..9b78275 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -531,7 +531,7 @@ static int svq1_decode_frame_header(GetBitContext *bitbuf, MpegEncContext *s)
 
             svq1_parse_string(bitbuf, msg);
 
-            av_log(s->avctx, AV_LOG_ERROR,
+            av_log(s->avctx, AV_LOG_INFO,
                    "embedded message: \"%s\"\n", (char *)msg);
         }
 
@@ -665,7 +665,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
                     result = svq1_decode_block_intra(&s->gb, &current[x],
                                                      linesize);
                     if (result) {
-                        av_log(s->avctx, AV_LOG_INFO,
+                        av_log(s->avctx, AV_LOG_ERROR,
                                "Error in svq1_decode_block %i (keyframe)\n",
                                result);
                         goto err;
-- 
1.7.11.4



More information about the ffmpeg-devel mailing list