summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index d7dd2b9a12..d7a6337bd3 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1275,6 +1275,7 @@ if(!demuxer)
play_tree_t* entry;
// Handle playlist
current_module="handle_playlist";
+ if ( stream->type != STREAMTYPE_PLAYLIST ) goto goto_next_file;
mp_msg(MSGT_CPLAYER,MSGL_INFO,"Falling back on trying to parse playlist %s...\n",filename);
stream_reset(stream);
stream_seek(stream,stream->start_pos);