mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-22 02:13:46 +00:00
qtmux: initialize mdhd language code as undefined
This commit is contained in:
parent
bbe0053f8a
commit
dbcb99ac1d
1 changed files with 5 additions and 1 deletions
|
@ -1112,7 +1112,11 @@ atom_mdhd_init (AtomMDHD * mdhd)
|
||||||
|
|
||||||
atom_full_init (&mdhd->header, FOURCC_mdhd, 0, 0, 0, flags);
|
atom_full_init (&mdhd->header, FOURCC_mdhd, 0, 0, 0, flags);
|
||||||
common_time_info_init (&mdhd->time_info);
|
common_time_info_init (&mdhd->time_info);
|
||||||
mdhd->language_code = 0;
|
/* tempting as it may be to simply 0-initialize,
|
||||||
|
* that will have the demuxer (correctly) come up with 'eng' as language
|
||||||
|
* so explicitly specify undefined instead */
|
||||||
|
mdhd->language_code =
|
||||||
|
('u' - 0x60) * 0x400 + ('n' - 0x60) * 0x20 + ('d' - 0x60);
|
||||||
mdhd->quality = 0;
|
mdhd->quality = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue