[FFmpeg-devel] [PATCH] wavpack: check if number of samples is not too big

Michael Niedermayer michaelni at gmx.at
Tue Nov 6 15:09:03 CET 2012


On Tue, Nov 06, 2012 at 01:32:53PM +0000, Paul B Mahol wrote:
> Wavpack format documentation mentions that 131072 is
> max number of samples.
> 
> This fixes huge memory allocations in sample from ticket #1889.
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121106/c5a707df/attachment.asc>


More information about the ffmpeg-devel mailing list