Commit c495c6f5 authored by László Áshin's avatar László Áshin Committed by Max Kellermann

wavpack: tolerate less decoded data than requested

Wavpack plugin doesn't stop decoding if a block couldn't be fully decoded, rather it tries to go on.
parent ed6f6046
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment