From patchwork Sat Feb 4 10:41:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 40265 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:5494:b0:bf:7b3a:fd32 with SMTP id i20csp1870045pzk; Sat, 4 Feb 2023 02:46:57 -0800 (PST) X-Google-Smtp-Source: AK7set8dkZTLFGnhxmZBPQPVAs0Ssa6kek5HBp8+cIcFF7vTZf2mNTmTzJhFsjkiGi0qoojOnS6f X-Received: by 2002:a17:907:a505:b0:877:573d:e91c with SMTP id vr5-20020a170907a50500b00877573de91cmr15239442ejc.63.1675507617272; Sat, 04 Feb 2023 02:46:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675507617; cv=none; d=google.com; s=arc-20160816; b=k+4WEPmh0ZwK2Kbxlr3IBck0UG3PVdiLQ/id0mWVqvXyBSHTXhEmDJCL9dcmnMiutc e7aQT+wUIzGVtaSIqXhcLJENfiQXJ+u87yDuFFofhUDGsiUMWYNAagKcOHp16GIH3UDd iYcCmyWD/4E0ch+Sa45lNQj7lDifR0yQsUT0aaPeY1U+CRAKfVcybITMCPHz2byLTBmS vl2oxxRNyJBTYydVShd698ZBbHYYksBTetEQFbNLA0WVJ8h11uarwmb3nU05+6YQWBI4 or8NJNY//zi5HodhA0LAT/WDIP7XTO3VjCxiq17wgZCsgSvBdZjKIJfrfsib8oL3pfqN JWFg== 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:delivered-to; bh=Z6X7gqmZWrScBS/bqQfC5Fx9y9XUi6CpHudQeYOhWgw=; b=sW3olRj9A7+Gtq/yCOkd1q2amek+2dQPwY9/PughN2sM3b/WtGDaLDd6VjI+jR74gx 53wRNnIqC5itonvqDsOkkrya/iaQqss2fy3FiM2vk5e7cyUxTfX1fnSYkLtJ+tTN6RvH EoXm4R86CnA6RhQKEuZqNgrSWvu3VrbsPuVd9W+xSG3a6iSlCIDlqkc10BpY8ovh4Epe IIJRThY3lUAeOO6jTPozZjCosmrr0ETnnceh04c/3kRkVVpXcUH0iDi0ty3JeYlOtbC+ bQrogBFfgz+GRG33yWVC15DWGVPlqq/ufyUzKHqUmJ1vFNwiUWiRjW3ciwocJz+wNwsB 1GNQ== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id az19-20020a170907905300b0088f97d5ede9si4676555ejc.67.2023.02.04.02.46.57; Sat, 04 Feb 2023 02:46:57 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3F7D668B5DB; Sat, 4 Feb 2023 12:44:34 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 50FA068BECF for ; Sat, 4 Feb 2023 12:44:13 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 465F92406CA for ; Sat, 4 Feb 2023 11:44:10 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id caQbLG1KKf8L for ; Sat, 4 Feb 2023 11:44:08 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id C36762405F9 for ; Sat, 4 Feb 2023 11:44:06 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 777AD3A03F5 for ; Sat, 4 Feb 2023 11:44:05 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Sat, 4 Feb 2023 11:41:40 +0100 Message-Id: <20230204104204.20721-10-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230204104204.20721-1-anton@khirnov.net> References: <20230204104204.20721-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 09/33] 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: SJWtAtSF05iK From: James Almer 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 77a1a3f5a29..e10fcb9c7c2 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 cd4830c69ae..7b561940b0c 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)