From 2ae94e8f8215803caf59d17c3bfe92c54d649396 Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 6 Aug 2016 06:31:09 +0200 Subject: [PATCH] [player] Fix return value in playback_prev_bh if source_open failed --- src/player.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/player.c b/src/player.c index 8af7c3c7..cbca4d90 100644 --- a/src/player.c +++ b/src/player.c @@ -2530,7 +2530,8 @@ playback_prev_bh(void *arg, int *retval) { playback_abort(); - return -1; + *retval = -1; + return COMMAND_END; } } else