Browse Source

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2
Mark Reid Michael Niedermayer 9 years ago
parent
commit
61fac0ea09
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dnxhdenc.c

+ 1
- 1
libavcodec/dnxhdenc.c View File

@@ -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…
Cancel
Save