wavpack: use bytestream2 in wavpack_decode_block
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 22 May 2013 10:27:04 +0000 (12:27 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 22 May 2013 20:02:55 +0000 (22:02 +0200)
commit3f0b6d7a6248a33df37b98cfcb37a1acce263f62
tree128363c6bc96890c6420ad0c47f00ddf2c5a379a
parentf36d7831d96aeb072db5a2b78892a534d96e288e
wavpack: use bytestream2 in wavpack_decode_block

Prevent most out of buffer reads.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/wavpack.c