mirror of
https://github.com/axiomatic-systems/Bento4.git
synced 2026-01-12 00:18:59 +08:00
Merge pull request #1031 from Sisyphus-wang/patch-1-fix-Ap4MdhdAtom-npd
Update Ap4MdhdAtom.cpp
This commit is contained in:
@@ -66,7 +66,7 @@ AP4_MdhdAtom::AP4_MdhdAtom(AP4_UI64 creation_time,
|
||||
m_TimeScale(time_scale),
|
||||
m_Duration(duration)
|
||||
{
|
||||
if (strlen(language) == 3) {
|
||||
if (language != 0 && strlen(language) == 3) {
|
||||
m_Language.Assign(language, 3);
|
||||
} else {
|
||||
m_Language = "und";
|
||||
|
||||
Reference in New Issue
Block a user