diff options
-rw-r--r-- | apps/playback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index 0dc142a42f..dcc0487dc4 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -1817,7 +1817,8 @@ static void audio_stop_playback(void) | |||
1817 | if (playing) | 1817 | if (playing) |
1818 | { | 1818 | { |
1819 | /* Save the current playing spot, or NULL if the playlist has ended */ | 1819 | /* Save the current playing spot, or NULL if the playlist has ended */ |
1820 | playlist_update_resume_info(playlist_end?NULL:audio_current_track()); | 1820 | playlist_update_resume_info( |
1821 | (playlist_end && ci.stop_codec)?NULL:audio_current_track()); | ||
1821 | } | 1822 | } |
1822 | filebufused = 0; | 1823 | filebufused = 0; |
1823 | playing = false; | 1824 | playing = false; |