aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api/api-threadmessage-test.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2020-11-15 00:31:11 +0100
committerMarton Balint <cus@passwd.hu>2020-11-19 21:22:07 +0100
commitbf19833ae26b054a111de79b5ab1681c00cd8d0a (patch)
tree13fdf1dabf5ee7773b051225b3cc1fce1fbc10b2 /tests/api/api-threadmessage-test.c
parent3871326910ee86e87114fd3e5d1b003ac14b195e (diff)
downloadffmpeg-bf19833ae26b054a111de79b5ab1681c00cd8d0a.tar.gz
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>
Diffstat (limited to 'tests/api/api-threadmessage-test.c')
0 files changed, 0 insertions, 0 deletions