wavpack: check packet size early
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 22 May 2013 10:51:42 +0000 (12:51 +0200)
committerReinhard Tartler <siretart@tauware.de>
Fri, 31 May 2013 21:00:31 +0000 (23:00 +0200)
commit93fbf034c94caf7ddfecd3c1947e3139fef6bfca
tree5cfe1ba088e090b30738fb78399e8ff70475d587
parent10f77c165c3b3e881bb174a0f57dd62083639072
wavpack: check packet size early

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit fd06291239c1bb616bf303b5696cc432710b2530)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/wavpack.c