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

Change #254500

Category ffmpeg
Changed by James Almer <jamrialohnoyoudont@gmail.com>
Changed at Thu 08 Jan 2026 00:25:18
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision 0cca125a94220ae5bdd427d305c4057d068a1a3c

Comments

avformat/demux: prevent the loss of packet side data when using an parser
Many parsers will request data until they find what will be the start of the
next assembled packet in order to decide where to cut the current one. If this
happens, the loop in demux.c will, in case the demuxer exports already fully
assembled packets as is sometimes the case for MPEG-TS, discard the already
handled first input packet before it tries to move its side data to the output.

The affected FATE tests reflect this change by no longer dropping the side data
from the first input packet, nor exporting every other side data in the wrong
output packet.

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

Changed files