aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/wavpack_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c
index 40140173d..c771db621 100644
--- a/src/decoder/wavpack_plugin.c
+++ b/src/decoder/wavpack_plugin.c
@@ -215,7 +215,7 @@ wavpack_decode(struct decoder *decoder, WavpackContext *wpc, bool can_seek,
replay_gain_info
);
}
- } while (samples_got != samples_requested);
+ } while (samples_got > 0);
}
/**