From patchwork Mon Aug 22 00:07:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Reid X-Patchwork-Id: 234 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.134 with SMTP id o128csp1465883vsd; Sun, 21 Aug 2016 17:19:39 -0700 (PDT) X-Received: by 10.194.168.197 with SMTP id zy5mr16827034wjb.112.1471825179055; Sun, 21 Aug 2016 17:19:39 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id tj3si16031651wjb.290.2016.08.21.17.19.38; Sun, 21 Aug 2016 17:19:39 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 850EF689B24; Mon, 22 Aug 2016 03:19:32 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7CCAE689742 for ; Mon, 22 Aug 2016 03:19:24 +0300 (EEST) Received: by mail-pf0-f196.google.com with SMTP id h186so5208642pfg.2 for ; Sun, 21 Aug 2016 17:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=J8lMvkvhXQYbvxZSYimPNxjuEi9g/hEwOE4Mi5T+Lak=; b=NJhVLzFH96sgS6PuNpioZDK538UhE0W41ZOey2R3hwogM68e+v3QsXSTFBkA5B1pC3 J2sVAh8x9AHJBcKsu437yjzEZEgz9ACe8sUSicaDsXordyv82RZ7P2jzhKFze5T6WkVH xSrNc947oMF9jZMehMHe8D8101lR0fUUXU54YQlE45YDWWm/qzLxXp+juozyJ8hIXvac sD6g9T2+RiOjbe8irpa6N5T5Q7fzlqTUFb8JnJkBmJjT269nb7bOvUpHuUhNltcelmGJ H2hRFydUsqZvI0wI6nz2Anbpz3U0Rd/yNvTyb11b69S3jpe+ZkPdqHesL0MzYIbTPdyi kweA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=J8lMvkvhXQYbvxZSYimPNxjuEi9g/hEwOE4Mi5T+Lak=; b=G/RoIfm28+X+vkXX2hcVhTruaDGG/J/j9N9qlH3O31cIW7hpr0KM7SCzLPOSw6ypyA a3Ia+C0foQncj43oSOIaF5Yee2LRnhVQB9RdHq7bGgH+q2gTto9MygRGQGsjr/u8FIZ2 sWaqHzffZ6jeshn+wRUJg3fGDVYkhwYcL9Lcxdv+sy6mYo0hq76IgmvPCsmpN7SYLnVA AFTbNC5VXSJG3F1oOvAHh4uJjWFQbZ8AO0JEntaPqnB/DBuOjeSXmP5DJbgnOLrcwQcX 8uCBp+8OsahX9aWmlXf50e9shEs8gxRwvjShryx4XS4XTFbNAqsR7sfC+czhJWWCeUy2 qi7g== X-Gm-Message-State: AEkoouvdILIxq3NA1DtjlAyI8AlfltcGsZ42dIv1cZ72iPvi652GfTgIWqdoEMiLzXQDUQ== X-Received: by 10.98.192.12 with SMTP id x12mr37108522pff.54.1471824476576; Sun, 21 Aug 2016 17:07:56 -0700 (PDT) Received: from localhost.localdomain ([121.209.29.147]) by smtp.gmail.com with ESMTPSA id m65sm22379158pfg.79.2016.08.21.17.07.54 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Aug 2016 17:07:56 -0700 (PDT) From: Mark Reid To: ffmpeg-devel@ffmpeg.org Date: Sun, 21 Aug 2016 17:07:49 -0700 Message-Id: <20160822000749.41637-1-mindmark@gmail.com> X-Mailer: git-send-email 2.9.2 Subject: [FFmpeg-devel] [PATCH] libavcodec/dnxhdenc: fix typo, check if profile is dnxhr 444 or hqx X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Mark Reid MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- 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");