avcodec/mpegvideo_enc: give magic number a name

This commit is contained in:
Ramiro Polla 2024-06-04 15:05:35 +02:00
parent 01b1f4c9a5
commit 2d24a80e5e
1 changed files with 1 additions and 1 deletions

View File

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