aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2018-03-15 18:02:11 +0800
committerLuca Barbato <lu_zero@gentoo.org>2018-03-16 13:36:08 +0100
commit3d6e76b953afd36e23ef8532b81aea58a6338931 (patch)
treefc3e8352d417b6be7da5f6e0e86d7018bd670c6d /libavcodec
parent847190ebd99ffd57dc89bd568a33bf2d5c424129 (diff)
downloadffmpeg-3d6e76b953afd36e23ef8532b81aea58a6338931.tar.gz
qsvenc: Fix a typo of FrameRateExtD/FrameRateExtN
Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/qsvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index d4dd4a3b94..baa2c6307f 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -374,7 +374,7 @@ static int check_enc_param(AVCodecContext *avctx, QSVEncContext *q)
av_log(avctx, AV_LOG_ERROR, "Selected ratecontrol mode is unsupported\n");
if (UNMATCH(LowPower))
av_log(avctx, AV_LOG_ERROR, "Low power mode is unsupported\n");
- if (UNMATCH(FrameInfo.FrameRateExtN) || UNMATCH(FrameInfo.FrameRateExtN))
+ if (UNMATCH(FrameInfo.FrameRateExtN) || UNMATCH(FrameInfo.FrameRateExtD))
av_log(avctx, AV_LOG_ERROR, "Current frame rate is unsupported\n");
if (UNMATCH(FrameInfo.PicStruct))
av_log(avctx, AV_LOG_ERROR, "Current picture structure is unsupported\n");