Change #271308
| Category | ffmpeg |
| Changed by | James Almer <jamrial@gmail.com> |
| Changed at | Tue 16 Jun 2026 14:18:23 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 68b53a8dbfdfbcce72d5b676edfcddb2f5d7a070 |
Comments
avformat/demux: discard trimming samples in codecs with fixed frame size When a demuxer reports the last packet with a duration smaller than the real coded duration, this information is not relayed to the decoder, which will happily output all the trimming samples anyway. Fix that by ensuring we export a discard padding information as side data. Signed-off-by: James Almer <jamrial@gmail.com>
Changed files
- libavformat/demux.c