mirror of
https://github.com/mpv-player/mpv
synced 2025-04-11 04:01:31 +00:00
disable code that DOES NOT WORK (it won't load real playlists and
makes mplayer hang forever on unrecognized files), and probably avoid vulnerabilities at the same time git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10954 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cc80597f63
commit
5f7b31fede
@ -1435,6 +1435,7 @@ if (demuxer && demuxer->type==DEMUXER_TYPE_PLAYLIST)
|
|||||||
|
|
||||||
if(!demuxer)
|
if(!demuxer)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
play_tree_t* entry;
|
play_tree_t* entry;
|
||||||
// Handle playlist
|
// Handle playlist
|
||||||
current_module="handle_playlist";
|
current_module="handle_playlist";
|
||||||
@ -1455,6 +1456,7 @@ if(!demuxer)
|
|||||||
mp_msg(MSGT_DEMUXER,MSGL_ERR,MSGTR_FormatNotRecognized);
|
mp_msg(MSGT_DEMUXER,MSGL_ERR,MSGTR_FormatNotRecognized);
|
||||||
else
|
else
|
||||||
eof=playtree_add_playlist(entry);
|
eof=playtree_add_playlist(entry);
|
||||||
|
#endif
|
||||||
goto goto_next_file;
|
goto goto_next_file;
|
||||||
}
|
}
|
||||||
inited_flags|=INITED_DEMUXER;
|
inited_flags|=INITED_DEMUXER;
|
||||||
|
Loading…
Reference in New Issue
Block a user