Alexey-Yakovenko/deadbeef — pull request #4 by popoffka (2014-05-04 16:56:01+00:00)
Title: Fix crash in stop_after_album_check if next=0

Deadbeef could crash if "stop after current album" was enabled and current track was the last one in the playlist (or the playlist required a reshuffle). This commit fixes the issue.

Sorry for this silly mistake.