Set the default duration.

This commit is contained in:
Moritz Bunkus 2004-03-23 08:31:31 +00:00
parent 8939870ee2
commit e6c533ca6f

View File

@ -45,9 +45,8 @@ ac3_packetizer_c::ac3_packetizer_c(generic_reader_c *nreader,
bsid = nbsid;
set_track_type(track_audio);
if (use_durations)
set_track_default_duration((int64_t)(1536000000000.0 *ti->async.linear /
samples_per_sec));
set_track_default_duration((int64_t)(1536000000000.0 *ti->async.linear /
samples_per_sec));
}
ac3_packetizer_c::~ac3_packetizer_c() {