librmff stored tracks as pointers now, not as full structs anymore.

This commit is contained in:
Moritz Bunkus 2004-03-21 16:18:16 +00:00
parent 616c961cf9
commit 58dabe561e

View File

@ -146,7 +146,7 @@ real_reader_c::parse_headers() {
if (rmff_read_headers(file) == RMFF_ERR_OK) { if (rmff_read_headers(file) == RMFF_ERR_OK) {
for (ndx = 0; ndx < file->num_tracks; ndx++) { for (ndx = 0; ndx < file->num_tracks; ndx++) {
track = &file->tracks[ndx]; track = file->tracks[ndx];
if ((track->type == RMFF_TRACK_TYPE_UNKNOWN) || if ((track->type == RMFF_TRACK_TYPE_UNKNOWN) ||
(get_uint32_be(&track->mdpr_header.type_specific_size) == 0)) (get_uint32_be(&track->mdpr_header.type_specific_size) == 0))
continue; continue;