On Fri, May 23, 2025 at 06:46:53AM +0900, Lynne wrote:
> The issue is that state->cur[] is 8-bits, but a+b+1 can overflow
> before being clipped to 0xF in the following line, causing an incorrect
> state to be saved for the next symbol.
> 
> This solves numerous bitstream desyncs, particularly when coefficients
> with magnitude greater than 127 are sent.
> ---
>  libavcodec/aac/aacdec_ac.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

LGTM

thx

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to