[FFmpeg-devel] [PATCH] avcodec/mpegvideo_enc: give magic number a name

Ramiro Polla ramiro.polla at gmail.com
Tue Jun 4 16:05:35 EEST 2024


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



More information about the ffmpeg-devel mailing list