[FFmpeg-devel] [PATCH] libavcodec/dnxhdenc: fix typo, check if profile is dnxhr 444 or hqx

Mark Reid mindmark at gmail.com
Mon Aug 22 03:07:49 EEST 2016


---
 libavcodec/dnxhdenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index d8289a4..88edd6b 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");
-- 
2.9.2



More information about the ffmpeg-devel mailing list