From patchwork Mon Jan 16 13:38:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Almer X-Patchwork-Id: 40033 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1d43:b0:b8:6755:f97e with SMTP id cs3csp1037215pzb; Mon, 16 Jan 2023 05:39:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXupk5fvW5o70Ac7WgodmMyHEnwyPrkMqhHiT4/s/B4OTH9oTVMYPEd8EPO3RJu3jq4nIVrG X-Received: by 2002:a17:906:38c6:b0:7c0:dcc2:e7b1 with SMTP id r6-20020a17090638c600b007c0dcc2e7b1mr77722454ejd.43.1673876389096; Mon, 16 Jan 2023 05:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673876389; cv=none; d=google.com; s=arc-20160816; b=gPo+uGiH4vwBcaLukPMHyQ2yU9nSitMVGdFg7+BoMfDEXcqOb3yXMewcX3va2AfCIu uG9fDDSLE+LR5gcOFvOUgYB0e39+WZh33oJXqkEuE2Boq8OcWHbIKKJnRZstXiu3nbXc a2egVM97AcwIiMJwN/n5PZSD5+vu1/rg9csfLNq55sTnbiM7th6tF3/mwo04uDCTUvOj 2kE9Ty2DUyeHVXhKtGgKIvmg2jw6uCphqXRijwfFI5KARDUSdsdu2+vsbd791Z3+P0AY eByxIS4tNGJsFw1o1FhXwG1k9T/v/++10amyoBHHMvVfSyXiXIX2OZ5tSBmWXFr+sdn8 cfqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=S/Cd5IFzhVvkuRjb42E4/4l/Ge3aUV8GhuvtANGIFus=; b=l1eQBldmFy04ben/oE9A5C/aXJlQVKeqZQXzCFSm9ieYGPtUa+HSdUZBnEsGmJJRbC GDoUvLsM9y9BWuZy9w1w37B1AJXB5hC0oZBmZhOz381W/lunVBQ2QNZS2AF0Vr21P+ow IU36HADYOLtAjTulBvYv91zQ1p0bihHpJXSmc1TfCPKj2q9FeVHE0XRZpm/60phPuZz9 YGZ+yyAagP23eZjxsPkoxDAloWiDhJe2Lyi7ibZCK4pWdNkhg7Qk0MKHXGnHHeY/LlUh DAWVIrUtzwgX4eYG409sXGst02oYAoTBXFmqkWmCJ1pNmEHrAd1fPWA84T9TuN2JQqAH WsuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=fpmbuQYI; 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=QUARANTINE 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 e21-20020a17090658d500b007adaedb2f14si34696091ejs.866.2023.01.16.05.39.48; Mon, 16 Jan 2023 05:39:49 -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=20210112 header.b=fpmbuQYI; 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=QUARANTINE 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 ADD9668BDB9; Mon, 16 Jan 2023 15:39:19 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 455BC68BDA5 for ; Mon, 16 Jan 2023 15:39:12 +0200 (EET) Received: by mail-oi1-f175.google.com with SMTP id s124so6559806oif.1 for ; Mon, 16 Jan 2023 05:39:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=kmo8otQHwn/6UhdAJKgu83RhtIVq/+kHRqCCSx7rvhs=; b=fpmbuQYIZw6igPzC/2wShhLMILitZRd7PI8krAt5Ow8kI5Enw8l+/CVVGt9MTN7Fts zOSS3dNV1SDTTizHrPB9PmeljIl6P5ZwVhul3Rcx4rWTd2/pTdZLTsNpKWoW61Via7WZ tJlE1KbwqKncIUZuU/TsdoUdxku/ToTDRYn7ZWGTtNI++HD/jQ66hO1evnZiq3W1wdc0 mhEfEAZ+n5dCcZwZQl1UaqAnEDY6o5atoDNvcnEKYwfdhMZvtNCEMjC3+5lUl5ts2opj uwHhv/YA4TOPp3YBrHT3oWKd+mXbalOZrb3G7ED3GzOOHWqPoJQ43H2FXKSLSvDdAY75 Bg2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kmo8otQHwn/6UhdAJKgu83RhtIVq/+kHRqCCSx7rvhs=; b=mdriBpSpe6Ktlj5Fkc25DoV7IQKKb1um3CPPdJvAN8pfZOGSL7ZrTJ4oMNyyNyRHXv sPvFHzEqoYaJJHOHR6G8PmyV/1RDTSH4Td3g69w+XuakfCjKhXGkVUfj5Fm+V7d8Uezg CUtAvWuna36LhNODjOzpV9erGfOSo/2SAbN1qiTm8sa9nRWIpH9/d72Q5CnYUpohPGoQ wQipsPpPzsNae1r9eVPbgCsxJGgNQQOIUCPxqfadODPijRmZHaYgbQev0JSK+CFGHmpv fnFJ2fg96VohtN0CuQ80ogn226L4o4rAnaIKCkMYBJLV0w4Xo/4II7FA9qHZ34J9Oj9k 62qA== X-Gm-Message-State: AFqh2kpf4P5G3fjl5RSOq+4C2zNeNdQMBu/4ghaJwT0k0Ll4zdjDCMA1 sWkDjBmV0k3mzaq3kpevqsoH46r6Ctg= X-Received: by 2002:a05:6808:21aa:b0:364:ab76:42cb with SMTP id be42-20020a05680821aa00b00364ab7642cbmr9037473oib.34.1673876350645; Mon, 16 Jan 2023 05:39:10 -0800 (PST) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id 3-20020a9d0303000000b0066ca9001e68sm388524otv.5.2023.01.16.05.39.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 05:39:10 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Mon, 16 Jan 2023 10:38:17 -0300 Message-Id: <20230116133840.512-4-jamrial@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230116133840.512-1-jamrial@gmail.com> References: <20230116133840.512-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 03/26] avcodec: remove FF_API_UNUSED_CODEC_CAPS X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: M0bMtTAbVk3V Signed-off-by: James Almer --- libavcodec/codec.h | 11 ----------- libavcodec/version_major.h | 1 - 2 files changed, 12 deletions(-) diff --git a/libavcodec/codec.h b/libavcodec/codec.h index 77a1a3f5a2..e10fcb9c7c 100644 --- a/libavcodec/codec.h +++ b/libavcodec/codec.h @@ -143,17 +143,6 @@ */ #define AV_CODEC_CAP_AVOID_PROBING (1 << 17) -#if FF_API_UNUSED_CODEC_CAPS -/** - * Deprecated and unused. Use AVCodecDescriptor.props instead - */ -#define AV_CODEC_CAP_INTRA_ONLY 0x40000000 -/** - * Deprecated and unused. Use AVCodecDescriptor.props instead - */ -#define AV_CODEC_CAP_LOSSLESS 0x80000000 -#endif - /** * Codec is backed by a hardware implementation. Typically used to * identify a non-hwaccel hardware decoder. For information about hwaccels, use diff --git a/libavcodec/version_major.h b/libavcodec/version_major.h index 5199d644ca..282fcea55e 100644 --- a/libavcodec/version_major.h +++ b/libavcodec/version_major.h @@ -37,7 +37,6 @@ * at once through the bump. This improves the git bisect-ability of the change. */ -#define FF_API_UNUSED_CODEC_CAPS (LIBAVCODEC_VERSION_MAJOR < 60) #define FF_API_THREAD_SAFE_CALLBACKS (LIBAVCODEC_VERSION_MAJOR < 60) #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 60) #define FF_API_GET_FRAME_CLASS (LIBAVCODEC_VERSION_MAJOR < 60)