From 2d24a80e5e419217f4e9ae22ab85a92a069756e0 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Tue, 4 Jun 2024 15:05:35 +0200 Subject: [PATCH] avcodec/mpegvideo_enc: give magic number a name --- libavcodec/mpegvideo_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 73a9082265..82bab43e14 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -562,7 +562,7 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx) if ((s->mpv_flags & FF_MPV_FLAG_QP_RD) && avctx->mb_decision != FF_MB_DECISION_RD) { - av_log(avctx, AV_LOG_ERROR, "QP RD needs mbd=2\n"); + av_log(avctx, AV_LOG_ERROR, "QP RD needs mbd=rd\n"); return AVERROR(EINVAL); }