diff mbox

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

Message ID 20160822000749.41637-1-mindmark@gmail.com
State Accepted
Commit 61fac0ea0967f322965226f8569ea84d988e76bb
Headers show

Commit Message

Mark Reid Aug. 22, 2016, 12:07 a.m. UTC
---
 libavcodec/dnxhdenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer Aug. 22, 2016, 12:51 a.m. UTC | #1
On Sun, Aug 21, 2016 at 05:07:49PM -0700, Mark Reid wrote:
> ---
>  libavcodec/dnxhdenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied

thx

[...]
diff mbox

Patch

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