Another version of the sound STSD atom: v2. Undocumented so far, but let's just skip 68 bytes ahead to the ESDS thingy.

This commit is contained in:
Moritz Bunkus 2005-08-14 10:11:39 +00:00
parent cd661e5b2b
commit 7840cd800d

View File

@ -836,8 +836,10 @@ qtmp4_reader_c::handle_stsd_atom(qtmp4_demuxer_ptr &new_dmx,
if (get_uint16_be(&sv1_stsd.v0.version) == 1)
stsd_size = sizeof(sound_v1_stsd_atom_t);
else
else if (get_uint16_be(&sv1_stsd.v0.version) == 0)
stsd_size = sizeof(sound_v0_stsd_atom_t);
else if (get_uint16_be(&sv1_stsd.v0.version) == 2)
stsd_size = 68;
memcpy(&new_dmx->a_stsd, &sv1_stsd, sizeof(sound_v1_stsd_atom_t));