Files
ffmpeg/libavcodec
James Almer b5bfb7716c 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>
2026-07-02 17:53:20 -03:00
..
2026-06-17 17:34:24 +09:00
2026-07-01 21:05:27 +09:00
2026-07-01 21:05:27 +09:00
2026-07-01 21:05:27 +09:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:13:06 +02:00
2026-04-28 14:31:19 +02:00
2026-04-28 12:29:37 +00:00
2026-06-07 10:24:42 -03:00
2026-05-03 16:56:43 +02:00
2026-04-28 12:29:37 +00:00
2026-04-28 12:29:37 +00:00
2026-06-23 19:15:57 +02:00
2026-06-03 14:12:50 +09:00
2026-06-23 19:15:57 +02:00
2026-05-19 17:43:53 +09:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-05-03 18:23:03 +02:00
2026-06-13 15:55:40 +00:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-05-02 21:39:02 +00:00
2026-06-23 17:15:02 +02:00
2026-07-01 21:05:27 +09:00
2026-07-01 21:05:27 +09:00
2026-03-28 11:25:38 +01:00
2026-03-28 11:25:38 +01:00
2026-03-28 11:25:38 +01:00
2026-05-03 18:22:24 +02:00
2026-05-03 18:22:18 +02:00
2026-05-03 18:22:13 +02:00
2026-06-23 19:15:57 +02:00
2026-04-28 12:29:37 +00:00
2026-04-28 12:29:37 +00:00
2026-06-23 19:13:06 +02:00
2026-04-28 12:29:37 +00:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00