From: Ronald S. Bultje Date: Sat, 1 May 2010 18:45:02 +0000 (+0000) Subject: Fix buffer overrun (or, well, actually a typo, 80 should be 0x80...). X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=593a8614705eb1b098185db6e4d227c67e8c3597;p=ffmpeg Fix buffer overrun (or, well, actually a typo, 80 should be 0x80...). Partially fixes issue 1758. Originally committed as revision 23005 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index 04bb6b34205..088a6d3463f 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -278,7 +278,7 @@ typedef struct { ///< aligned buffer for LPC tilting DECLARE_ALIGNED(16, float, denoise_coeffs_pf)[0x80]; ///< aligned buffer for denoise coefficients - DECLARE_ALIGNED(16, float, synth_filter_out_buf)[80 + MAX_LSPS_ALIGN16]; + DECLARE_ALIGNED(16, float, synth_filter_out_buf)[0x80 + MAX_LSPS_ALIGN16]; ///< aligned buffer for postfilter speech ///< synthesis /**