diff options
author | waker <wakeroid@gmail.com> | 2009-08-17 20:23:30 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-17 20:23:30 +0200 |
commit | e17823663289e21e043fbf32e8d26bc133a7b3fe (patch) | |
tree | bc6039c5afd72777176e90730b51422f705948b0 /playlist.c | |
parent | cd78d819263c8aa757bd7b84fb1c037c405b722a (diff) |
fixed hanging on bad files in playlist
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -647,7 +647,10 @@ pl_set_current (playItem_t *it) { // don't do anything on fail, streamer will take care ret = it->codec->init (it); if (ret < 0) { - it->codec->info.samplesPerSecond = -1; +// pl_item_free (&playlist_current); +// playlist_current_ptr = NULL; +// return ret; +//// it->codec->info.samplesPerSecond = -1; } } if (playlist_current_ptr) { |