From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E7801470EB for ; Tue, 26 Sep 2023 00:35:41 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EC30D68C9CC; Tue, 26 Sep 2023 03:35:38 +0300 (EEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D624368C96C for ; Tue, 26 Sep 2023 03:35:32 +0300 (EEST) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1c5bf7871dcso57008995ad.1 for ; Mon, 25 Sep 2023 17:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695688530; x=1696293330; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EwdATYEz9CkCZ0PXQKpGcvZNNDl+2B4bETUOLKcpmlw=; b=g8IYtdAifLvmH4QGjEXh4UdHDEr75KPHI5ZRVJdD652tLFWH3tz5vk58g7fvTAESm7 bvM/SX/iJpzHOYPUTjnERkRSc8kceNlNSch9G4EQlXiIcWKAEY15/d7VYQveIm3qdUJE mvu3RNXcVhLYxxlmuzCmBeJgu6l+C7hJufOxvJiMEGW6iKalf6SV2ZyLoS6wgHOJBSn7 W6i4UPiWYUp3/FbZ+CzIl/aMRtA4SZbZmlnVPoS/dDOMsVjzF8j7RBoZnAoxI8Zwo6ar eSuYaUyA10p8xBxR3YfgPsM3qsShJ/EmQPmH7NtV98S9X+FcK8WytkcC6H5dAT4J6+y8 NKSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695688530; x=1696293330; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EwdATYEz9CkCZ0PXQKpGcvZNNDl+2B4bETUOLKcpmlw=; b=eoPfEJl8vBgEJcdxU1/OVsMhbKWt/g/fhVurzk4Wkw4J+GQT8NkG4bSoKxMSMhVmvM U9C3rwOlEeH0qIYRBHFabJabfjVUkPjDM/DqpeGXZ4bwM7Sj+mmIyOxnKGKP5h15jB/O CfV4qIhhlIwn3nk2RL9yVEwtphuZoWF2YsQ8TxW1/pkQ2E6p9LscaxloFkz9O+lVeFZ8 tMJFm7tVc6xeq+UBJV24BuotJfdiA9USBtIs7gh/MIgMVqkcln6B3x04znxoiWwbi+2R UsFrnZa3+zL7QD7B8p3X8o7Z3LtIGznQg+kqaWkYhS9qykI7UijJnTKyNcF33NKX+Ee1 wusA== X-Gm-Message-State: AOJu0Ywlh9qYr5Ny5Jq95gkd3+rm8Y1QAVhilpA5uWLsy2tiy1wh5U7j I/0F1k+D/kh8Z9yJJmrptl/AF68RCZI= X-Google-Smtp-Source: AGHT+IEc8B3QyTS5u0/37pJhoH2dNMa3g+yGlelyKogLQuCOOSIPSt0ZoFyS+ayx/wE8klWN7GrU1A== X-Received: by 2002:a17:903:1cd:b0:1c5:6199:ed95 with SMTP id e13-20020a17090301cd00b001c56199ed95mr7411394plh.39.1695688530431; Mon, 25 Sep 2023 17:35:30 -0700 (PDT) Received: from [192.168.0.10] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id u14-20020a17090341ce00b001bc445e249asm9487945ple.124.2023.09.25.17.35.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Sep 2023 17:35:29 -0700 (PDT) Message-ID: <2f4a7353-4c1f-af0a-b1c5-8344318254bb@gmail.com> Date: Mon, 25 Sep 2023 21:35:31 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 2/3] avcodec/codec_par: Move enum AVFieldOrder to defs.h 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 9/25/2023 8:55 PM, Andreas Rheinhardt wrote: > It is also used by AVCodecContext. > > Signed-off-by: Andreas Rheinhardt > --- > doc/APIchanges | 3 +++ > libavcodec/codec_par.h | 10 +--------- > libavcodec/defs.h | 8 ++++++++ > 3 files changed, 12 insertions(+), 9 deletions(-) > > diff --git a/doc/APIchanges b/doc/APIchanges > index ca7ffbb97e..c1ea3b7dc1 100644 > --- a/doc/APIchanges > +++ b/doc/APIchanges > @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09 > > API changes, most recent first: > > +2023-09-26 - xxxxxxxxxx - lavc 60.xx.100 - codec_par.h defs.h > + Move the definition of enum AVFieldOrder from codec_par.h to defs.h. Does this need an entry? If codec_par.h includes defs.h, it's basically transparent for the API user. > + > 2023-09-26 - xxxxxxxxxx - lavf 60.xx.100 - avformat.h > Deprecate AVFMT_ALLOW_FLUSH without replacement. Users can always > flush any muxer by sending a NULL packet. > diff --git a/libavcodec/codec_par.h b/libavcodec/codec_par.h > index add90fdb1e..c1679ea042 100644 > --- a/libavcodec/codec_par.h > +++ b/libavcodec/codec_par.h > @@ -29,21 +29,13 @@ > #include "libavutil/pixfmt.h" > > #include "codec_id.h" > +#include "defs.h" > > /** > * @addtogroup lavc_core > * @{ > */ > > -enum AVFieldOrder { > - AV_FIELD_UNKNOWN, > - AV_FIELD_PROGRESSIVE, > - AV_FIELD_TT, ///< Top coded_first, top displayed first > - AV_FIELD_BB, ///< Bottom coded first, bottom displayed first > - AV_FIELD_TB, ///< Top coded first, bottom displayed first > - AV_FIELD_BT, ///< Bottom coded first, top displayed first > -}; > - > /** > * This struct describes the properties of an encoded stream. > * > diff --git a/libavcodec/defs.h b/libavcodec/defs.h > index ceed8d5e16..00d840ec19 100644 > --- a/libavcodec/defs.h > +++ b/libavcodec/defs.h > @@ -195,6 +195,14 @@ > > #define AV_LEVEL_UNKNOWN -99 > > +enum AVFieldOrder { > + AV_FIELD_UNKNOWN, > + AV_FIELD_PROGRESSIVE, > + AV_FIELD_TT, ///< Top coded_first, top displayed first > + AV_FIELD_BB, ///< Bottom coded first, bottom displayed first > + AV_FIELD_TB, ///< Top coded first, bottom displayed first > + AV_FIELD_BT, ///< Bottom coded first, top displayed first > +}; > > /** > * @ingroup lavc_decoding _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".