libavcodec/dnxhdenc: fix typo, check if profile is dnxhr 444 or hqx
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
d7633ed7a5
commit
61fac0ea09
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue