Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #273770

Category ffmpeg
Changed by James Almer <jamrialohnoyoudont@gmail.com>
Changed at Thu 02 Jul 2026 22:53:20
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision b5bfb7716c4914efdccbc3b507a77d676616be51

Comments

avcodec/ac3enc: drain the buffered samples at the end of encoding
When encoding a stream with an amount of samples multiple of a block, the last
the last 256 samples would be lost as the encoders were not marked as
AV_CODEC_CAP_DELAY.

This can be easily reproduced with:

ffmpeg -f lavfi -i sine -ac 2 -af atrim=start_sample=0:end_sample=4608 -c:a eac3 -f framecrc -

Signed-off-by: James Almer <jamrial@gmail.com>

Changed files