mkvmerge: FLV reader: fix determining available track IDs

This commit is contained in:
Moritz Bunkus 2013-01-06 22:58:42 +01:00
parent b9d32bd101
commit c0b6214693
2 changed files with 6 additions and 0 deletions

View File

@ -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())

View File

@ -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);