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 E97CF46CB5 for ; Tue, 8 Aug 2023 17:38:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6FF5168C7D0; Tue, 8 Aug 2023 20:38:27 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4827368BEC6 for ; Tue, 8 Aug 2023 20:38:21 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id D3E0FE922B for ; Tue, 8 Aug 2023 19:35:34 +0200 (CEST) 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 TJI0E-GX5l8S for ; Tue, 8 Aug 2023 19:35:30 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id BCB00E8F04 for ; Tue, 8 Aug 2023 19:35:30 +0200 (CEST) Date: Tue, 8 Aug 2023 19:35:30 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: Message-ID: <38fe1a62-2c67-39d-1752-5b2bbf2fd589@passwd.hu> References: <20230805083259.24406-1-cus@passwd.hu> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] avcodec/on2avc: use the matching AVTX context for the 512 sized iMDCT 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 Sat, 5 Aug 2023, Lynne wrote: > Aug 5, 2023, 10:33 by cus@passwd.hu: > >> Improves the audio corruption regression caused by >> 6ba0aa1770ba29eb4126c6a706f6b0cd3809648f reported in ticket #10029. >> >> There is still however a noticable audio glitch, so the FFT conversion to AVTX >> probably also needs some modifications. >> >> Signed-off-by: Marton Balint >> --- >> libavcodec/on2avc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavcodec/on2avc.c b/libavcodec/on2avc.c >> index 74be1dcb60..474adb149d 100644 >> --- a/libavcodec/on2avc.c >> +++ b/libavcodec/on2avc.c >> @@ -700,7 +700,7 @@ static int on2avc_reconstruct_channel_ext(On2AVCContext *c, AVFrame *dst, int of >> break; >> case WINDOW_TYPE_EXT5: >> c->wtf(c, buf, in, 512); >> - c->mdct_half_fn(c->mdct, buf + 512, in + 512, sizeof(float)); >> + c->mdct_half_fn(c->mdct_half, buf + 512, in + 512, sizeof(float)); >> for (i = 0; i < 256; i++) { >> FFSWAP(float, buf[i + 512], buf[1023 - i]); >> } >> > > LGTM > Thanks Thanks, will apply. Regards, Marton _______________________________________________ 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".