wavpack: enable seeking

Somehow seeking is disabled on all kinds of wavpack playbacks now in
the git version.  This patch corrects that.
This commit is contained in:
Laszlo Ashin 2008-11-06 06:48:33 +01:00 committed by Max Kellermann
parent dcfb205c46
commit 089c9b7e5c

View File

@ -164,7 +164,7 @@ static void wavpack_decode(struct decoder * decoder,
samplesreq = sizeof(chunk) / (4 * audio_format.channels);
decoder_initialized(decoder, &audio_format, false,
decoder_initialized(decoder, &audio_format, canseek,
(float)allsamples / audio_format.sample_rate);
position = 0;