diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-13 22:43:00 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-13 22:43:00 +0100 |
commit | 5abf61660956619361e5b6fd544c6fb2b968ec10 (patch) | |
tree | c35ec1f6e00bb06b1fc5c9cdd7f7cf724ebbcecf /playlist.c | |
parent | 18fa0cedb301f187d7b9e17f0f979bdc3d2067df (diff) |
added workaround for random plugin "early-crash-start"
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1825,6 +1825,9 @@ pl_get_prev (playItem_t *it, int iter) { int pl_get_cursor (int iter) { + if (!playlist) { + return -1; // FIXME: that's a workaround for crashes in plugins + } return playlist->current_row[iter]; } |