Commit 76ab5ebb authored by Steven Liu's avatar Steven Liu

avcodec/mpegvideo_enc: add logging context to log

Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent 8c16c133
...@@ -165,7 +165,7 @@ void ff_convert_matrix(MpegEncContext *s, int (*qmat)[64], ...@@ -165,7 +165,7 @@ void ff_convert_matrix(MpegEncContext *s, int (*qmat)[64],
} }
} }
if (shift) { if (shift) {
av_log(NULL, AV_LOG_INFO, av_log(s->avctx, AV_LOG_INFO,
"Warning, QMAT_SHIFT is larger than %d, overflows possible\n", "Warning, QMAT_SHIFT is larger than %d, overflows possible\n",
QMAT_SHIFT - shift); QMAT_SHIFT - shift);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment