mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-24 10:51:26 +00:00
mkvmerge: FLV reader: fix determining available track IDs
This commit is contained in:
parent
b9d32bd101
commit
c0b6214693
@ -296,6 +296,11 @@ flv_reader_c::identify() {
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
flv_reader_c::add_available_track_ids() {
|
||||
add_available_track_id_range(m_tracks.size());
|
||||
}
|
||||
|
||||
void
|
||||
flv_reader_c::create_packetizer(int64_t id) {
|
||||
if ((0 > id) || (m_tracks.size() <= static_cast<size_t>(id)) || m_tracks[id]->is_ptzr_set())
|
||||
|
@ -146,6 +146,7 @@ public:
|
||||
virtual void identify();
|
||||
virtual void create_packetizer(int64_t tid);
|
||||
virtual void create_packetizers();
|
||||
virtual void add_available_track_ids();
|
||||
|
||||
static int probe_file(mm_io_c *io, uint64_t size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user