Skip to content

Commit

Permalink
VideoPlayer: fix segfault
Browse files Browse the repository at this point in the history
after 0eff600
  • Loading branch information
FernetMenta committed Dec 7, 2017
1 parent a965075 commit a8c2c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ int CDVDDemuxFFmpeg::GetPrograms(std::vector<ProgramInfo>& programs)
while (tag)
{
os << " - " << tag->key << ": " << tag->value;
tag = av_dict_get(m_pFormatContext->programs[i]->metadata, nullptr, tag, AV_DICT_IGNORE_SUFFIX);
tag = av_dict_get(m_pFormatContext->programs[i]->metadata, "", tag, AV_DICT_IGNORE_SUFFIX);
}
prog.name = os.str();
programs.push_back(prog);
Expand Down

0 comments on commit a8c2c86

Please sign in to comment.