mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-09 09:32:43 +00:00
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>