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 70D9945A37 for ; Mon, 13 Mar 2023 21:33:39 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C09C068B9CA; Mon, 13 Mar 2023 23:33:35 +0200 (EET) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8F99068A5E1 for ; Mon, 13 Mar 2023 23:33:28 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 8B84FE8836 for ; Mon, 13 Mar 2023 22:33:33 +0100 (CET) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XC_BsKxUFTtA for ; Mon, 13 Mar 2023 22:33:28 +0100 (CET) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id B29ECE8733 for ; Mon, 13 Mar 2023 22:33:28 +0100 (CET) Date: Mon, 13 Mar 2023 22:33:28 +0100 (CET) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: Message-ID: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 1/3] avcodec/libxavs: Use frame_num instead of frame_number 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 Sun, 12 Mar 2023, Andreas Rheinhardt wrote: > Forgotten in 6b6f7db81932f94876ff4bcfd2da0582b8ab897e. This and the next similar patch in the series LGTM. Thanks, Marton > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/libxavs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c > index 9ed73d1042..6c29539f24 100644 > --- a/libavcodec/libxavs.c > +++ b/libavcodec/libxavs.c > @@ -141,7 +141,7 @@ static int XAVS_frame(AVCodecContext *avctx, AVPacket *pkt, > > x4->pic.i_pts = frame->pts; > x4->pic.i_type = XAVS_TYPE_AUTO; > - x4->pts_buffer[avctx->frame_number % (avctx->max_b_frames+1)] = frame->pts; > + x4->pts_buffer[avctx->frame_num % (avctx->max_b_frames+1)] = frame->pts; > } > > if (xavs_encoder_encode(x4->enc, &nal, &nnal, > -- > 2.34.1 > > _______________________________________________ > 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". > _______________________________________________ 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".