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 B0321458F8 for ; Mon, 27 Mar 2023 14:34:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 794E568CAC3; Mon, 27 Mar 2023 17:34:41 +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 A46E168CAAF for ; Mon, 27 Mar 2023 17:34:35 +0300 (EEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C996F5C017F for ; Mon, 27 Mar 2023 10:34:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 27 Mar 2023 10:34:34 -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= 1679927674; x=1680014074; bh=qog1QQWJsD5Ct4f0s40gf/xmPqD6nL4sI6d IPAnYIOY=; b=fO2oVSiwD5aHSGLzDvutD//kkNfTgPWtPgeoQQOmMToikg6Jl7c tFwb3pBVdHnJXK0xJVD/yRGWMdC3l1mRoTqgvo0aq+moy9Z+beUsGe8/ubAnObeF pycXuTJN6gd7pVsGkwfrkdRWGIcudV5eZeniHU1kXNNrhsxPLxn83aQc7FFNvdjL 9icl/HNkH1DEqm1iO9C4TP1BoFlRVQHTRcjvUQDvcOaGMtjCHiJ52UYDMK+Fb/6T JEVhYJFdmNMJX3It5RHJWyctpvDZ2NKZLaStajkT6zrhzG8YLRgFBsfQC3VwIv3a gadRDaVZllISG6p8ISP3fQVKok0cPJvaj+w== 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=1679927674; x= 1680014074; bh=qog1QQWJsD5Ct4f0s40gf/xmPqD6nL4sI6dIPAnYIOY=; b=T 1jh5o/M2OrvKjzQVKN1sut5Wffw3A8V7ojMyQ+UA+Lo48rVfmfY/OI4KhZ+GihLB H0jwIk2MNHXQlYPCxg9QzUbp7s+BiTs8eB2AhTMt10c9KldBraTUvGb+ooX3K3xd v1hGdPaE7Fd2A2jd/wpqUVQJFzYHurKsUHa6Lka6lpdDYcnvGMKywmfniMorg57f HJ0oc4fLyQWKdIuyl735lYe47/yScumXjOBdNN6HtD1r+eVSvKCnoASJl4zCT1Dg jjzKTgjKdxBR8KSmBcIQLw5+sjehpvyoTegC0/0KuJlcxdXb4H6MDb2s7wfFjFsl sDPj39YK6igUJyeGoOpew== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehvddgjeekucetufdoteggodetrfdotf 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:34 -0400 (EDT) Message-ID: Date: Mon, 27 Mar 2023 16:34:33 +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: <20230327052627.908214-1-fei.w.wang@intel.com> From: "J, Dekker" In-Reply-To: <20230327052627.908214-1-fei.w.wang@intel.com> Subject: Re: [FFmpeg-devel] [PATCH v1] lavc/hevcdec: Initialize missed parameters in slice header for IDR frame 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:26, Fei Wang wrote: > Signed-off-by: Fei Wang > --- > libavcodec/hevcdec.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c > index 121ceb4e75..1c2f3aa9d1 100644 > --- a/libavcodec/hevcdec.c > +++ b/libavcodec/hevcdec.c > @@ -732,8 +732,13 @@ static int hls_slice_header(HEVCContext *s) > else > sh->slice_temporal_mvp_enabled_flag = 0; > } else { > - s->sh.short_term_rps = NULL; > - s->poc = 0; > + s->sh.short_term_rps = NULL; > + s->poc = 0; > + sh->pic_order_cnt_lsb = 0; > + sh->short_term_ref_pic_set_sps_flag = 0; > + sh->short_term_ref_pic_set_size = 0; > + sh->long_term_ref_pic_set_size = 0; > + sh->slice_temporal_mvp_enabled_flag = 0; > } > > /* 8.3.1 */ 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".