From patchwork Mon Jan 16 13:38:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Almer X-Patchwork-Id: 40032 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1d43:b0:b8:6755:f97e with SMTP id cs3csp1038934pzb; Mon, 16 Jan 2023 05:42:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXvwjS5FldzDb5UHW+jA2DKELYfCbIuxD/rMGvTwuDGhIeLI+x+PKE6AT1jaPH8qQ4kUvOVN X-Received: by 2002:a05:6402:1143:b0:499:b5a0:fe0c with SMTP id g3-20020a056402114300b00499b5a0fe0cmr10826335edw.36.1673876563027; Mon, 16 Jan 2023 05:42:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673876563; cv=none; d=google.com; s=arc-20160816; b=p2tEG1CVxxtckCPXtfSibCqU6CZ+UlXNZ7lnbv43ollK8dHzerPlxf+GKtwJwF5+Dk RzxvkcHaeIFgn+jptUeRsNVGfYFI0gY2j9Lnm2a2Hvg34s4Ny2yGnr45ySxt4LnbQKQb vxqF1kXSDG+mHgCbr9eehGfuPwEIu3SCZRsgRolF1gm4Xv4VkqUk1ot7WTO2k9aadlxT F7z7aWKF8jEdqHY10LUlZXX/irXzBO3SI0BBO6d9INoOuVypUos7K09Gq3r60G8b+CMa Ki5lHFJWjmytFnky7J4R3JeFqEqPXJgRyHLU5aHLXVpHiQLAkooDhCltVNbGenXtMAYW o9Og== 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=V6QtXvQL2MWfYBV/Yq77/BF3ezIJwxD0dhCQjly/+aA=; b=IyMUvTZB3l6Uag7ZBsaM3U3pWyIWkF2nV4vxjSAqQeGhZMh73O3wTfmvcIweJNtHUe cJA1J6dHRZg7HpECunoRaNawM+iNG+LN3KCOsSTGqel17HiaoEg6TlJo3fZ9QD3K3b4o JjUvv8PLscxzO6+X/ibejyzMySJ4kpDhFKgnCyaKVzx2RvKbScIWtuaUHmMaBBfnyFzD mcJzl/db4PUGa2TE6+D45dkkkaUQClup6/WUW6e5C7fLxfTj16ybFAVhbGt3CVV2/Q3M Ydp69bGOTSI2zfRtz9SbplaPJ1COTLhSVnFa7OFa/beNT1sIIYoNifvs9VnpY9SyGUaL UB2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=DFSJd0bk; 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 j7-20020a05640211c700b0048c37066651si39323002edw.41.2023.01.16.05.42.42; Mon, 16 Jan 2023 05:42:43 -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=DFSJd0bk; 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 0794F68BE50; Mon, 16 Jan 2023 15:39:41 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3690368BE1D for ; Mon, 16 Jan 2023 15:39:35 +0200 (EET) Received: by mail-ot1-f49.google.com with SMTP id r2-20020a9d7cc2000000b006718a7f7fbaso16123853otn.2 for ; Mon, 16 Jan 2023 05:39:35 -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=O3v0S/4elTO7N490rEpDvOs6wQqujnSBesKbNEc5C+8=; b=DFSJd0bki9wSEQNPjPyoT8PezgXc/fJXEywfGxSLybrox7wCUb0Y0FbBn+6Qeg+LCK cL+ohyJdOylY3uJiTgaMU4StGBPAevYPbNbTb/dvLqfoYKfyDMq4bSSzbPfxgwgqyDHu ZJ8F5OfjQzWYPjRxs1lCZh18ZvUY9rPga0/y3H6w/5sMPLzkkLXUzCt+JXrvAuAbN837 m+qaXssC7PQ0Hm+oloA0tbDJHANExfaceRHZv9wo8vv7T2jecJ8AO60qjXk/LWfhXYOY IbwMhHXdh81/9MWZ0NGfUgXtqXsYRuFjk6cdNDWVnyiYjcRDELTaCe4rvAbUK5IyZynY yEcQ== 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=O3v0S/4elTO7N490rEpDvOs6wQqujnSBesKbNEc5C+8=; b=aI5zAFykECvpiuh17IDyKYAoHnuwmnH/nSb96veHuMnPsXXzUAqRdIgGd5DimOzEvB Y/NdiKflyNYmE+E+Z25Ri2jx/mTHwzlj5EzXvf5Wh9pS6I/yKLJG8p4CeVP6ZoC7NNkC kFGVVNZ2Ip7DdasQimkoA2pLI/A84hcmqzJeZH+UU4NlxdXqpyJ/H7mHcnxipvbtwoC8 Ot8hyxkyzqbKs9wEaD2SGh5Lk+p8u6Lzwgkqg7hb6c6dXgUTBuQJRL3Uw0eOPNNbVuHo 0Ifpr04aVmY0As2QjYUT7CIKJn/YGIG0IhfR0c/zRyLy5ACwED8iH1qoBLMKFKLnmDtj oD7Q== X-Gm-Message-State: AFqh2kpQMXiSORylZ2PmhQNhh/2vEli708xxeh4FjqW56aRbDzknjmZC bxhZJPTmSxbXsTdb0xSqCB/FFym54MQ= X-Received: by 2002:a05:6830:651b:b0:670:5c94:8fcb with SMTP id cm27-20020a056830651b00b006705c948fcbmr44098018otb.8.1673876374547; Mon, 16 Jan 2023 05:39:34 -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.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 05:39:34 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Mon, 16 Jan 2023 10:38:37 -0300 Message-Id: <20230116133840.512-24-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 23/26] avutil/version: postpone the remaining API deprecations 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: LRYv+bvom7uw They are too recent. Signed-off-by: James Almer --- fftools/ffprobe.c | 2 +- libavutil/version.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index b9310a2d25..ac650145ef 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2588,7 +2588,7 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream, print_time("pkt_dts_time", frame->pkt_dts, &stream->time_base); print_ts ("best_effort_timestamp", frame->best_effort_timestamp); print_time("best_effort_timestamp_time", frame->best_effort_timestamp, &stream->time_base); -#if LIBAVUTIL_VERSION_MAJOR < 58 +#if LIBAVUTIL_VERSION_MAJOR < 59 AV_NOWARN_DEPRECATED( print_duration_ts ("pkt_duration", frame->pkt_duration); print_duration_time("pkt_duration_time", frame->pkt_duration, &stream->time_base); diff --git a/libavutil/version.h b/libavutil/version.h index 3bad472227..24b9980601 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -105,12 +105,12 @@ * @{ */ -#define FF_API_FIFO_PEEK2 (LIBAVUTIL_VERSION_MAJOR < 58) -#define FF_API_FIFO_OLD_API (LIBAVUTIL_VERSION_MAJOR < 58) -#define FF_API_XVMC (LIBAVUTIL_VERSION_MAJOR < 58) -#define FF_API_OLD_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR < 58) -#define FF_API_AV_FOPEN_UTF8 (LIBAVUTIL_VERSION_MAJOR < 58) -#define FF_API_PKT_DURATION (LIBAVUTIL_VERSION_MAJOR < 58) +#define FF_API_FIFO_PEEK2 (LIBAVUTIL_VERSION_MAJOR < 59) +#define FF_API_FIFO_OLD_API (LIBAVUTIL_VERSION_MAJOR < 59) +#define FF_API_XVMC (LIBAVUTIL_VERSION_MAJOR < 59) +#define FF_API_OLD_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR < 59) +#define FF_API_AV_FOPEN_UTF8 (LIBAVUTIL_VERSION_MAJOR < 59) +#define FF_API_PKT_DURATION (LIBAVUTIL_VERSION_MAJOR < 59) /** * @}