From patchwork Sun Jan 29 10:17:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 40166 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3ca3:b0:b9:1511:ac2c with SMTP id b35csp2663892pzj; Sun, 29 Jan 2023 02:18:11 -0800 (PST) X-Google-Smtp-Source: AK7set+QsXHB6j0nl+UQLPvKDf5LJa86rHGNqcii9BGz3Sut4xPfhdjykvMC0OTJ5XjXgKsQELx3 X-Received: by 2002:a17:906:1553:b0:883:94f4:95d6 with SMTP id c19-20020a170906155300b0088394f495d6mr3648511ejd.56.1674987490830; Sun, 29 Jan 2023 02:18:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674987490; cv=none; d=google.com; s=arc-20160816; b=DSoh4dPUNldNB2GhVKRv8Aq/INBufvCCEMYNrFDfYRMMprmhagpUzlfqTd9MTsAxAK nw7bTMGpfQIf6JJNohMlBa4ZAfU3Vkz4piD3i6fuSNAcEGegAVonBbSxeWAqHO3rCAdv kMS7cvVZRD/rAB5TRs/LOWWn9hFn8Dq9avAEerxJkCNfNorZxP3DFl8U6BpYTVYJlPuh yn8CGa9DcMaTdwkJVR+IdXuCHa2OZib+Q0E7eINp3XYuC7SDxz4Vm6aPhyK9pTzEgFPx a0B5SoiMv5zFb94SLr9m9HmPNkMoPF+4L7shJSoQGaFqzVKQK4VZr8CDYoUrRcGIFimE uIng== 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=dSzpWsFqrdZRqoQfTwwLh0ARLdbWIo5JP72fzHv3eIY=; b=bnO6ydynsH9zl0ePloxSW5zl6JE3vHQkVuX51YcCh1LgPmbzHzKktEO9rLgV1+h7Ag BrSbJAk0A75z9u8sfQm9bEo4Trub4htgTElTeXacnWTsp4fqGdjWV3pkRDXuOPBqlM76 WinuN5JtyvPgRqw2vF9OLVfe50GJ0mpryESFOdqqOOMLCArnmaWlZV/7OFFAYdY3dOB3 okBN8+4pwz7OakvRj3HJJyU9QYmyWAlULSSsr1BtQExxxSlLgOfktGLir/oZolV8DYis Y7n/j/8/Jnk5EHGJbd0ig2l0TYbzaHWGBjsSNbMXhy4nUvtDsCLiDNZ6hR6wpDIgyjDP 9rzA== 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 uk9-20020a170907ca0900b007c07d0dbe85si11520356ejc.463.2023.01.29.02.18.08; Sun, 29 Jan 2023 02:18:10 -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 EEEF768BC7E; Sun, 29 Jan 2023 12:17:56 +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 9FF5968AA5A for ; Sun, 29 Jan 2023 12:17:48 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 59B19240178 for ; Sun, 29 Jan 2023 11:17:48 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id XGn_wCNKMRQe for ; Sun, 29 Jan 2023 11:17:47 +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 A0FCC2404EC for ; Sun, 29 Jan 2023 11:17:47 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 686DF3A034A for ; Sun, 29 Jan 2023 11:17:47 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Sun, 29 Jan 2023 11:17:35 +0100 Message-Id: <20230129101735.14173-3-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230129101735.14173-1-anton@khirnov.net> References: <20230116133840.512-1-jamrial@gmail.com> <20230129101735.14173-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/3] lavu/fifo: mark all AVFifoBuffer members as deprecated 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: QcRx9QhCdUBU --- libavutil/fifo.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavutil/fifo.h b/libavutil/fifo.h index ed86800da4..2e0c600dd3 100644 --- a/libavutil/fifo.h +++ b/libavutil/fifo.h @@ -242,8 +242,11 @@ void av_fifo_freep2(AVFifo **f); #if FF_API_FIFO_OLD_API typedef struct AVFifoBuffer { + attribute_deprecated uint8_t *buffer; + attribute_deprecated uint8_t *rptr, *wptr, *end; + attribute_deprecated uint32_t rndx, wndx; } AVFifoBuffer;