wavpack: fix wrong return value in wavpack_decode_block()
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 5 Sep 2011 10:37:50 +0000 (12:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 15:56:15 +0000 (17:56 +0200)
commitc026f336b9ff78ba450ff53a67ec2e5cd19dd454
treeff6ff4c8d8a3e33c206e3c4c164c32dabc8b0b38
parent5c2d6849862f975254a82d8cdb82d64f8f148ec2
wavpack: fix wrong return value in wavpack_decode_block()

This function should return number of samples decoded, not number of bytes
decoded.
Spotted by Uoti Urpala.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit bcd4aa8bec19a17bd633e3db13357784c05b6ca5)
libavcodec/wavpack.c