These casts have no effect because "len" and the second argument of
mp4ff_read_string() are of type uint32_t.
mp4ff_read_char(f); /* version */
mp4ff_read_int24(f); /* flags */
free(name);
- name = mp4ff_read_string(f, (uint32_t) (subsize - (header_size + 4)));
+ name = mp4ff_read_string(f, subsize - (header_size + 4));
continue;
}
if (atom_type != ATOM_DATA)
}
} else {
free(data);
- data = mp4ff_read_string(f, (uint32_t) (subsize - (header_size + 8)));
- len = (uint32_t) (subsize - (header_size + 8));
+ data = mp4ff_read_string(f, subsize - (header_size + 8));
+ len = subsize - (header_size + 8);
}
}
if (data) {