From patchwork Thu Feb 25 14:05:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 25988 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 6F7A5449789 for ; Thu, 25 Feb 2021 16:05:45 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4FE6B68A5E4; Thu, 25 Feb 2021 16:05:45 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 71B75687FA1 for ; Thu, 25 Feb 2021 16:05:38 +0200 (EET) Received: by mail-wm1-f41.google.com with SMTP id k66so4959132wmf.1 for ; Thu, 25 Feb 2021 06:05:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mqitqOjh8f+DqK5U7GUttf06zfUZ4QAemdc+uj7ByeE=; b=aBxEgEGuN4LZqakUN/a4xGkW1WUJUwYkH98W3Xa9yd2RRcdpPnpS4PO4aHcOp+wzLL V/K+oOMMh1K8FHxV78k7ld6yspGZHN0GSg6e3Jx5FWUkfaaiZttSk4OnRgJI8sVk3DfS RYRJ4kA3P1T/EGFmXLpvKORmhp40GtP7u/SYoB7BguOJTt1pMb7lHHVJlESBtbenWimz n7VYmlqG0ykRvtH1p/ZTkalT9+MuuBseBiO0p6rislDFyNc8crOWSuFRCyNFt1tjWuqR AuE1qLN6a0EflakiVmEVMbv5AVMShQbJMW8saT9OEn/fWyuTPQS8l5QvVHqcO1k9CRnd qm3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mqitqOjh8f+DqK5U7GUttf06zfUZ4QAemdc+uj7ByeE=; b=gNSNiruVVUfVoVPlIzROii8/CWEE/VN2Hkuy1xH3oaQ5re1uZvzGHrNpOuAhdzucnu OPRaebPHtGfFe8yfsFT1g1OdiVPiOw6mLsKru5e2ctDPk396xbwyAi100yphO6gdUGM+ Ax/dfqpyz5Fi9KT1gtV+LYIsUyovFUnjIxNTh0BDRuhMGnz8CRarYDBHGMTPAq0O3sf0 3ru6o6wb3Kaa3mtWWqZZdhStF5UHZCR7X16BJybO3S0DK4MD+HDw8A+3FvmgeN3824bG FOE5xo2t5wWozNAxxT3vpVwLKbXMeNZ013Hh/0i449zhRRTIh8hJx3ev1z7Ds117K1ST kw2A== X-Gm-Message-State: AOAM533SmppI/wUFck7DcW601bPXVzmPZsKsdphFU3y6JeenklGOJXUJ E38Q1kie+BLEqgFTFs/g0laQfN+R0vQ= X-Google-Smtp-Source: ABdhPJwK4c8rN/LIjIqNj4dcRwQgiYu0beanqWil7fw35MhPY1a2dqJkvmIq7E2nPEwmOCr4ZPxj9A== X-Received: by 2002:a1c:6441:: with SMTP id y62mr3416512wmb.97.1614261937834; Thu, 25 Feb 2021 06:05:37 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id j11sm7952229wrm.13.2021.02.25.06.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 06:05:37 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 25 Feb 2021 15:05:05 +0100 Message-Id: <20210225140505.1249855-4-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210225140505.1249855-1-andreas.rheinhardt@gmail.com> References: <20210225140505.1249855-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/4] avcodec/avcodec: Add missing deprecation to AVCodecParser.next 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The whole old next API has been deprecated in commit 7e8eba2d8755962d9dca5eade57bf8f591a73c0c, yet deprecating the next pointer has been forgotten (the next pointers of other structures are below the public API delimiter, but such a delimiter doesn't exist for AVCodecParser). Signed-off-by: Andreas Rheinhardt --- libavcodec/avcodec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5df6a8aedc..b0cb91f555 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3512,7 +3512,10 @@ typedef struct AVCodecParser { const uint8_t *buf, int buf_size); void (*parser_close)(AVCodecParserContext *s); int (*split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size); +#if FF_API_NEXT +attribute_deprecated struct AVCodecParser *next; +#endif } AVCodecParser; /**