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

Mark Reid git at videolan.org
Mon Aug 22 03:57:16 EEST 2016


ffmpeg | branch: master | Mark Reid <mindmark at gmail.com> | Sun Aug 21 17:07:49 2016 -0700| [61fac0ea0967f322965226f8569ea84d988e76bb] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=61fac0ea0967f322965226f8569ea84d988e76bb
---

 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");



More information about the ffmpeg-cvslog mailing list