History

avcodec/mpegutils: Remove always-false check

SVQ3 does not call ff_print_debug_info2().

Andreas Rheinhardt committed 2 years ago

Commit 07ae09b1 parent c94d81c1 file · +1 −1Browse files

Unified · Split

libavcodec/mpegutils.c+1−1
@@ -165,7 +165,7 @@ void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, · 164 unmodified lines
165165 if ((avctx->export_side_data & AV_CODEC_EXPORT_DATA_MVS) && mbtype_table && motion_val[0]) {
166166 const int shift = 1 + quarter_sample;
167167 const int scale = 1 << shift;
168− const int mv_sample_log2 = avctx->codec_id == AV_CODEC_ID_H264 || avctx->codec_id == AV_CODEC_ID_SVQ3 ? 2 : 1;
168+ const int mv_sample_log2 = avctx->codec_id == AV_CODEC_ID_H264 ? 2 : 1;
169169 const int mv_stride = (mb_width << mv_sample_log2) +
170170 (avctx->codec->id == AV_CODEC_ID_H264 ? 0 : 1);
171171 int mb_x, mb_y, mbcount = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t