]> git.sesse.net Git - ffmpeg/commit
avformat/mpegts: use stream index based lookup with merge_pmt_versions if stream...
authorMarton Balint <cus@passwd.hu>
Sun, 27 Dec 2020 22:49:06 +0000 (23:49 +0100)
committerMarton Balint <cus@passwd.hu>
Sat, 9 Jan 2021 21:38:12 +0000 (22:38 +0100)
commite57879ec18edab5827268a498577cece82d56811
tree7fb10b70b5f7af3964e37875b06d0b0647430d28
parentf143a6c1515cb0c4db4dbead46d0e7c53fafc5db
avformat/mpegts: use stream index based lookup with merge_pmt_versions if stream identifier matches multiple streams

Also make sure we are checking the old state of the streams because otherwise
some streams might already have the newly parsed stream identifiers which
corrupts matching.

Fixes streams having the same identifier mixed up on pmt version change.

Fixes ticket #9006.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mpegts.c