summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhdenc.c
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2016-08-21 17:07:49 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-22 02:27:15 +0200
commit61fac0ea0967f322965226f8569ea84d988e76bb (patch)
treee0e288baa4e51bf347b7d85e4cc64e3f4724326a /libavcodec/dnxhdenc.c
parentd7633ed7a59a1e511f528426dc6c9660cc09bdff (diff)
libavcodec/dnxhdenc: fix typo, check if profile is dnxhr 444 or hqx
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r--libavcodec/dnxhdenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index d8289a4f49..88edd6b20f 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -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");