Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
clsid2 committed Jul 8, 2024
1 parent 6d7f1d5 commit 40d2dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DSUtil/HdmvClipInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ bool CHdmvClipInfo::ReadMeta(LPCTSTR strFolder, CAtlList<BDMVMeta>& meta)
fclose(f);

XMLElement* rootNote(doc.RootElement());
if (!strcmp(rootNote->Name(), "disclib")) {
if (rootNote && !strcmp(rootNote->Name(), "disclib")) {
XMLElement* discinfo = rootNote->FirstChildElement("di:discinfo");
if (discinfo != NULL) {
XMLElement* title = discinfo->FirstChildElement("di:title");
Expand Down

0 comments on commit 40d2dbf

Please sign in to comment.