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

Change #271729

Category ffmpeg
Changed by James Almer <jamrialohnoyoudont@gmail.com>
Changed at Thu 18 Jun 2026 23:17:23
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision dedb75a810cfe3b0be696d3802c733885d94fd18

Comments

avcodec/encode: take into account priming samples in the last packet duration
The generic code was setting the last packet duration based on the input frame
while ignoring the fact the encoder may have output an initial padding amount
of samples in the first (e.g. 481 for mp2, 256 for AC3, etc).

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

Changed files