From 110cef6fda704ae9ea806c13ef346de6a1059a9f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:17 +0200 Subject: don't call playerStop() before playerPlay() Since playerPlay() already calls playerStop(), we can remove its invocation of playerStop() from playPlaylistOrderNumber(). We can also make playerStop a static function. --- src/playlist.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/playlist.c') diff --git a/src/playlist.c b/src/playlist.c index 0f6f1d01..e5aad2ed 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -837,8 +837,6 @@ static void playPlaylistOrderNumber(int orderNum) { char path_max_tmp[MPD_PATH_MAX]; - playerStop(); - playlist_state = PLAYLIST_STATE_PLAY; playlist_noGoToNext = 0; playlist.queued = -1; -- cgit v1.2.3