1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-08 22:39:44 +02:00
FFmpeg/libavformat
Marton Balint bf19833ae2 avformat/mpegts: make sure mpegts_read_header always stops at the first pmt
mpegts_read_header stops parsing the file at the first PMT. However the check
that ensured this was wrong because streams can also be added before the first
PMT is received (e.g. EIT).

So let's make sure we are in the header reading phase by checking if ts->pkt is
unset instead of checking if the number of streams found so far is 0.

Signed-off-by: Marton Balint <cus@passwd.hu>
2020-11-19 21:22:07 +01:00
..
2020-10-03 21:50:59 +02:00
2020-11-04 23:30:53 +01:00
2020-11-09 14:58:38 +10:00
2020-10-25 23:44:26 +10:00
2020-11-09 14:58:38 +10:00
2020-10-06 00:01:35 +08:00
2020-10-06 00:01:27 +08:00
2020-11-11 17:05:24 +01:00
2020-10-24 19:11:12 +02:00
2020-11-04 23:30:53 +01:00
2020-10-20 13:00:04 +02:00
2020-09-25 10:21:28 +02:00
2020-10-07 22:16:09 +02:00
2020-09-24 13:38:28 +02:00
2020-10-25 09:49:26 +01:00
2020-11-09 14:58:38 +10:00
2020-10-24 19:11:12 +02:00
2020-10-25 09:49:31 +01:00
2020-10-22 20:53:57 +08:00
2020-10-21 17:21:41 +02:00