[FFmpeg-cvslog] Reduce the verbosity of a mpeg1/2 invalid intra-matrix warning.

Carl Eugen Hoyos git at videolan.org
Sun Feb 12 00:21:14 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Feb 12 00:18:32 2012 +0100| [289520fd97395ffd5bf933ac80487e858bc4039d] | committer: Carl Eugen Hoyos

Reduce the verbosity of a mpeg1/2 invalid intra-matrix warning.

Fixes ticket #973.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=289520fd97395ffd5bf933ac80487e858bc4039d
---

 libavcodec/mpeg12.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 5e325cf..28c17e6 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1497,7 +1497,7 @@ static int load_matrix(MpegEncContext *s, uint16_t matrix0[64], uint16_t matrix1
             return -1;
         }
         if (intra && i == 0 && v != 8) {
-            av_log(s->avctx, AV_LOG_ERROR, "intra matrix specifies invalid DC quantizer %d, ignoring\n", v);
+            av_log(s->avctx, AV_LOG_DEBUG, "intra matrix specifies invalid DC quantizer %d, ignoring\n", v);
             v = 8; // needed by pink.mpg / issue1046
         }
         matrix0[j] = v;



More information about the ffmpeg-cvslog mailing list