1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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

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