aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/flac_plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c
index 0faee293c..b5c18af75 100644
--- a/src/inputPlugins/flac_plugin.c
+++ b/src/inputPlugins/flac_plugin.c
@@ -262,8 +262,7 @@ static FLAC__StreamDecoderWriteStatus flacWrite(const flac_decoder *dec,
data->time += timeChange;
flac_get_decode_position(dec, &newPosition);
- if (data->position) {
- assert(newPosition >= data->position);
+ if (data->position && newPosition >= data->position) {
assert(timeChange >= 0);
data->bitRate =