summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index b1e9cd2057..5cc1ef5f77 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1027,7 +1027,7 @@ reopen_file:
goto terminate_playback;
if (opts->stream_dump && opts->stream_dump[0]) {
- if (stream_dump(mpctx, mpctx->stream_open_filename) < 0)
+ if (stream_dump(mpctx, mpctx->stream_open_filename) >= 0)
mpctx->error_playing = 1;
goto terminate_playback;
}