mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
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:
parent
cd661e5b2b
commit
7840cd800d
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user