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 A489F458EE for ; Mon, 27 Mar 2023 14:34:58 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8ABDF68CADA; Mon, 27 Mar 2023 17:34:57 +0300 (EEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C213A68CAD6 for ; Mon, 27 Mar 2023 17:34:51 +0300 (EEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E94165C0163 for ; Mon, 27 Mar 2023 10:34:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 27 Mar 2023 10:34:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itanimul.li; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1679927690; x=1680014090; bh=kR0hYUwhWMv87yCwBpCL9y44VhkDVbdJD9V b40+xfzI=; b=zpw1lcAPlZlVJsN9nIpSWByU6kZWW//iqkCYwG90pn2CrT8R1RL 93deqD1FGiZ2t8ew4xcMy4FQ2P3ObzDI/p04oGm+8G3YE6HM1XcOjcn/3cuB2sqt Jbh9Qm1MSU35NPTJEZLwfrwrJZjjGTr3FZhJZIFicwTtTsOEERnso8V109h9jzPP GITt+p0oKhulYvRlB1NNVndjNSt7Ww1YSMh4S9QTcyqjQz5G1T7sqPSrheCC0uLD oo/w31QdHg/8MJDJkP/g2qntJp9AYrGGSe6HGJsnFHGdNLHJdIW6xJ/N3nSFz8d3 vZKBy+l3ebjpFbECN7H3MKYk4c7mplmuH6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1679927690; x= 1680014090; bh=kR0hYUwhWMv87yCwBpCL9y44VhkDVbdJD9Vb40+xfzI=; b=n LB3tvSBjHv2STxr20nAE+2dnhOaAzHjf37gtU85S34Ikuxu0FzMDjfwdDiazfURb PGN2pe28ifHQZNh6p6WrjBpsBSGpw7kTRvi4R2LNEN4NDNtjV2CQhcKI/B+2eIsj mVxa9cs0SgP2N+RmNvsyZ16EEcjlW/ixlentjra4RQKLce88yIssrTzTQQPY+g59 yFtigkdkBxr1bMUvpjp39aw+wh6PWf4pzwcH62du2lwhc0kDVsLM8knwH7ugYe0Z jMFMXbtNPliOXrg1Du+44nCV4OIHelxjp8JwEN6Puz8p61n0NENMANXqFuhMuMQ/ xeNdj2revmb2vvNIUQ6Fw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehvddgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpedflfdpucffvghkkhgvrhdfuceojhguvghksehithgrnhhi mhhulhdrlhhiqeenucggtffrrghtthgvrhhnpefggeefffduudeiudefveehheelleevve fgkeehgfdtgeeffeeftdefvddvffegtdenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehjuggvkhesihhtrghnihhmuhhlrdhlih X-ME-Proxy: Feedback-ID: i84994747:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 27 Mar 2023 10:34:50 -0400 (EDT) Message-ID: Date: Mon, 27 Mar 2023 16:34:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230327052553.908025-1-fei.w.wang@intel.com> From: "J, Dekker" In-Reply-To: <20230327052553.908025-1-fei.w.wang@intel.com> Subject: Re: [FFmpeg-devel] [PATCH v1] avcodec/hevcdec: Replace number with enum 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 27/03/2023 07:25, Fei Wang wrote: > From: Fei Wang > > Keep same style with IS_IDR()/IS_BLA(). > > Signed-off-by: Fei Wang > --- > libavcodec/hevcdec.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h > index aab816791e..94609e4699 100644 > --- a/libavcodec/hevcdec.h > +++ b/libavcodec/hevcdec.h > @@ -75,7 +75,7 @@ > #define IS_IDR(s) ((s)->nal_unit_type == HEVC_NAL_IDR_W_RADL || (s)->nal_unit_type == HEVC_NAL_IDR_N_LP) > #define IS_BLA(s) ((s)->nal_unit_type == HEVC_NAL_BLA_W_RADL || (s)->nal_unit_type == HEVC_NAL_BLA_W_LP || \ > (s)->nal_unit_type == HEVC_NAL_BLA_N_LP) > -#define IS_IRAP(s) ((s)->nal_unit_type >= 16 && (s)->nal_unit_type <= 23) > +#define IS_IRAP(s) ((s)->nal_unit_type >= HEVC_NAL_BLA_W_LP && (s)->nal_unit_type <= HEVC_NAL_RSV_IRAP_VCL23) > > enum RPSType { > ST_CURR_BEF = 0, Thanks, pushed. -- jd _______________________________________________ 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".