ws_snd1: Fix wrong samples counts.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Dec 2011 23:10:27 +0000 (00:10 +0100)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 16 Feb 2012 20:18:45 +0000 (15:18 -0500)
commit9fb7a5af97d8c084c3af2566070d09eae0ab49fc
tree3d2fb28eae6d4aaeadf3571503bca0cab8ee4d3c
parent51df7b232f19f85188cca30fce26eb3587126ab3
ws_snd1: Fix wrong samples counts.

This makes the check that avoids overwrite of the samples array actually
work properly.

fixes CVE-2012-0848
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavcodec/ws-snd1.c