1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

Fix possible null-pointer-dereference in parse_smil().

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24990 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2007-11-08 23:05:54 +00:00
parent fb366fbf03
commit 2fed92a167

View File

@ -456,6 +456,7 @@ parse_smil(play_tree_parser_t* p) {
return NULL; //line not smil exit
}
if (!line) return NULL;
mp_msg(MSGT_PLAYTREE,MSGL_V,"Detected smil playlist format\n");
play_tree_parser_stop_keeping(p);