From patchwork Thu Jan 4 18:41:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Almer X-Patchwork-Id: 7125 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.78.2 with SMTP id r2csp580890jaa; Thu, 4 Jan 2018 10:42:03 -0800 (PST) X-Google-Smtp-Source: ACJfBosIqf+pxK+qGz07h4DiAqwdbkqj/mxgCv6PGfOwym8YZx0wEGB9InAxwJNaKaH2641qk+sC X-Received: by 10.28.113.211 with SMTP id d80mr351726wmi.32.1515091323806; Thu, 04 Jan 2018 10:42:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515091323; cv=none; d=google.com; s=arc-20160816; b=r5wwuHssIW6NxZc4/18kWiMLDhOS7QbViRkZcC67MOo/OdNHTMfXVyVhw5Bnn2te67 +xNA9fQ87mgtAiJ1WAeyDrXlaJTSb7nstA7Xq3jqbeCNZM6U7MHgf0Ikj+4CwB+do/Zz BZPtDTudYqv++L2gi6ADekBcGwNP6PfhDiY7/ppEm3uAGc/B3kcVTBRSCW52VroEwW1K S2fcVUFAMzsq1N7rCKVFlrJ43ZVo11Ux0lCXPViT/dHj2b5PPDQ7mEVwGos44j0+W5ax cybSmnRUDNFVY9iBgRVhK2N2NVLc4xT+QPhrSZUFjTtT47Dv8AXhMC+aebDzRXzgLbhC uwLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=vk2eKS7jE+M9A7PGjMmofvTn2+Hs0PX+ZlcxpVy0rcM=; b=vZ5y1lLHobdsW3fEI4aKyb3lTbiNZUX2eAhbgGVd3kq5rRr+jytdv46jMjNGe+qE8m VuEMJXP6wsxkUcGEIrVUZ0IA7/gEOAAy3Uk5iNM+VJC21drigXmFMAaWlhzWHOGvo1qS 7/uImODUCFDUtoN/7NmkTXArk2JLDTj5CV2oNle7mf/rL3Co74FhTZ2seEgxvyd/1+V+ 0pTTMb5T7sFRYvo8uOIHr/GttPaQ9A3q0g4a3i9fkdfIlPJPzP+NopIzvL0l3vjt0xT5 ewHAa4B+R7fc38cioGTX4B8WHmsGa0V13B+PWullYlx3zRLCHgO07Ao0HLzYgQNfY180 3vGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=SmX0KRFf; 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 sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id o6si2997811wra.264.2018.01.04.10.42.03; Thu, 04 Jan 2018 10:42:03 -0800 (PST) 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 header.s=20161025 header.b=SmX0KRFf; 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 sp=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 2D49B689908; Thu, 4 Jan 2018 20:41:39 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E9C18689892 for ; Thu, 4 Jan 2018 20:41:32 +0200 (EET) Received: by mail-qt0-f196.google.com with SMTP id u42so2992371qte.7 for ; Thu, 04 Jan 2018 10:41:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=BvPlLmLQjn1P2DqEsChI8MOndUqkDp7GiZEarVvfqaI=; b=SmX0KRFfpS9Fu9l73n9+GLQnTNZ2KPqTTzGLOaKPd4GepJVGF0akUWEhvw1HQGLmqr R8G/dom1ruE+IFYhTZQD3J7vEpA1NMaHAQtmsamRUL4d81eb97EgUIWBW71tT+V4l1MT NF8nA+2MFU6i/amkY6FlB5WkJI1bVMMyxMA3ldXAJLyp8SRy7x25vaFTCJYbIssses0K wV/Xshc1MPYHT7fanNNTFDfg0YOQPGWjlsFMl0yyAsFUBNJJJx97rOerA3hpeAD9tUvV sqOcIbtW6qfNoM2VVmVbEpUBtP9Nl4uQcMSm8WcnsYdoROPyqRXJajA1qe6PVjKMJw+B PTug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=BvPlLmLQjn1P2DqEsChI8MOndUqkDp7GiZEarVvfqaI=; b=plcJiVbOHoq+naZXFqqiooroACeJpVJv1dHIVFSMR/EsBDvSciY7srOyXrrxwhztiR ZgFoxffGG46WLwekR1NzyU5bFFgdqAaFiI9g7sV42mB71S6jogxEZ5t7RoZq+D5UwDYd melzLiEKWsmgpCYQJz9TFpcWEYpqGunkZL8/qvBwS77XQo0CrLm3G25qfA8kFT5JoC9f MMA31T8MjmPLqmod8rflsn4eiowYexH+Md13zvGIocXsK/sUUGh747b7siDenWf7OqkC AageYspJ4mCnjf+hVO73eGhlIgf/EN3nB7bnJYnoaMV5FicAAGkhMVFY7pkiJwI86OVg wgFw== X-Gm-Message-State: AKwxyteDhmV8w5/nbUczEcsVC4UUEs2k+Z5BffJjMaH2uTO7aLuS1XC6 tkRamx7+8bRdI7Ny+aojCEb0qw== X-Received: by 10.200.57.129 with SMTP id v1mr750279qte.50.1515091308860; Thu, 04 Jan 2018 10:41:48 -0800 (PST) Received: from localhost.localdomain ([181.229.225.176]) by smtp.gmail.com with ESMTPSA id d7sm2423966qtc.13.2018.01.04.10.41.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Jan 2018 10:41:48 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Thu, 4 Jan 2018 15:41:16 -0300 Message-Id: <20180104184116.3720-2-jamrial@gmail.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180104184116.3720-1-jamrial@gmail.com> References: <20180104184116.3720-1-jamrial@gmail.com> Subject: [FFmpeg-devel] [PATCH 2/2] fftools/cmdutils.c: silence an avresample related deprecation warning 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: James Almer --- fftools/cmdutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 6920ca0764..f66591548a 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -550,7 +550,9 @@ int opt_default(void *optctx, const char *opt, const char *arg) const char *p; const AVClass *cc = avcodec_get_class(), *fc = avformat_get_class(); #if CONFIG_AVRESAMPLE +FF_DISABLE_DEPRECATION_WARNINGS const AVClass *rc = avresample_get_class(); +FF_ENABLE_DEPRECATION_WARNINGS #endif #if CONFIG_SWSCALE const AVClass *sc = sws_get_class();