[FFmpeg-cvslog] mpeg12dec: print the value that is being ignored in load_matrix()

Michael Niedermayer git at videolan.org
Thu Feb 9 19:06:31 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb  6 17:30:29 2012 +0100| [491d8353e8aab444bfe25cf4867f4da666d16c47] | committer: Michael Niedermayer

mpeg12dec: print the value that is being ignored in load_matrix()

error message by Reimar

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 1dae17f..c671fcf 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 invalid, ignoring\n");
+            av_log(s->avctx, AV_LOG_ERROR, "intra matrix specifies invalid DC quantizer %d, ignoring", v);
             v = 8; // needed by pink.mpg / issue1046
         }
         matrix0[j] = v;



More information about the ffmpeg-cvslog mailing list