Browse Source

avcodec/mpegvideo_enc: add logging context to log

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
tags/n4.3
Steven Liu 6 years ago
parent
commit
76ab5ebbee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpegvideo_enc.c

+ 1
- 1
libavcodec/mpegvideo_enc.c View File

@@ -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);
} }


Loading…
Cancel
Save