[FFmpeg-devel] [PATCH 2/2] aacdec: correctly skip padding at the start of frames and during seeking

Lynne dev at lynne.ee
Mon Oct 30 07:10:21 EET 2023


Presently, our AAC decoder didn't skip any samples, unless the side data
contained skip information.

This uses the newly added ff_decoder_skip_samples function to skip samples
on two levels: base, and additional.
Base is the inherent decoder delay. Most containers already specify it,
hence it is overwritten in that case.
Additional is any extra samples that have to be skipped, in AAC's case,
it's the delay introduced by SBR.

Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-aacdec-correctly-skip-padding-at-the-start-of-frames.patch
Type: text/x-diff
Size: 3030 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231030/f4dc5e17/attachment.patch>


More information about the ffmpeg-devel mailing list