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.
This commit is contained in:
László Áshin 2008-11-14 15:23:13 +01:00 committed by Max Kellermann
parent ed6f60460d
commit c495c6f5af

View File

@ -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);
}
/**