diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-02 20:49:31 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 18:58:38 +0200 |
commit | 07ae09bdf18b117e809224fbddcca6eaf7273c4b (patch) | |
tree | d67eaab6aa5b5df7db120e3544b2c3332b236601 /libavcodec/mpegutils.c | |
parent | c94d81ce00862f3bb8558356284caeb6ca7234db (diff) | |
download | ffmpeg-07ae09bdf18b117e809224fbddcca6eaf7273c4b.tar.gz |
avcodec/mpegutils: Remove always-false check
SVQ3 does not call ff_print_debug_info2().
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegutils.c')
-rw-r--r-- | libavcodec/mpegutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegutils.c b/libavcodec/mpegutils.c index 4b1bcaa995..acc4989aba 100644 --- a/libavcodec/mpegutils.c +++ b/libavcodec/mpegutils.c @@ -165,7 +165,7 @@ void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, if ((avctx->export_side_data & AV_CODEC_EXPORT_DATA_MVS) && mbtype_table && motion_val[0]) { const int shift = 1 + quarter_sample; const int scale = 1 << shift; - const int mv_sample_log2 = avctx->codec_id == AV_CODEC_ID_H264 || avctx->codec_id == AV_CODEC_ID_SVQ3 ? 2 : 1; + const int mv_sample_log2 = avctx->codec_id == AV_CODEC_ID_H264 ? 2 : 1; const int mv_stride = (mb_width << mv_sample_log2) + (avctx->codec->id == AV_CODEC_ID_H264 ? 0 : 1); int mb_x, mb_y, mbcount = 0; |