[FFmpeg-devel] [PATCH 2/2] aacdec: fix single-sample delay for SBR streams

Michael Niedermayer michael at niedermayer.cc
Tue Dec 5 03:47:22 EET 2023


On Mon, Dec 04, 2023 at 08:52:06AM +0100, Lynne wrote:
> Our SBR implementation introduces a single sample of latency into the
> output, which is currently never skipped.
> This delay is separate from any container skip value and always present,
> as it is from an additional part of the decoding process.
> 
> Fixes Trac issue #9667
> 

>  aac.h             |    1 +
>  aacdec_template.c |   23 ++++++++++++++++++-----
>  2 files changed, 19 insertions(+), 5 deletions(-)
> 100f2e0512732bbf24f36e1524e07fb6c3fa0831  0002-aacdec-fix-single-sample-delay-for-SBR-streams.patch
> From 5b9d971b108677d54bc3aac317669007462dbcc9 Mon Sep 17 00:00:00 2001
> From: Lynne <dev at lynne.ee>
> Date: Mon, 30 Oct 2023 05:40:22 +0100
> Subject: [PATCH 2/2] aacdec: fix single-sample delay for SBR streams
> 
> Our SBR implementation introduces a single sample of latency into the
> output, which is currently never skipped.
> This delay is separate from any container skip value and always present,
> as it is from an additional part of the decoding process.
> 
> Fixes Trac issue #9667
> ---
>  libavcodec/aac.h             |  1 +
>  libavcodec/aacdec_template.c | 23 ++++++++++++++++++-----
>  2 files changed, 19 insertions(+), 5 deletions(-)

this affects many fate tests

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Does the universe only have a finite lifespan? No, its going to go on
forever, its just that you wont like living in it. -- Hiranya Peiri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231205/8d7bdf7e/attachment.sig>


More information about the ffmpeg-devel mailing list