Commit 61fac0ea authored by Mark Reid's avatar Mark Reid Committed by Michael Niedermayer

libavcodec/dnxhdenc: fix typo, check if profile is dnxhr 444 or hqx

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent d7633ed7
......@@ -324,7 +324,7 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx)
return AVERROR(EINVAL);
}
if (ctx->profile == FF_PROFILE_DNXHR_HQX ||
if (ctx->profile == FF_PROFILE_DNXHR_444 ||
ctx->profile == FF_PROFILE_DNXHR_HQX) {
avpriv_report_missing_feature(avctx,
"dnxhr_444 or dnxhr_hqx profile");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment