From 593a8614705eb1b098185db6e4d227c67e8c3597 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 1 May 2010 18:45:02 +0000 Subject: [PATCH] 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 --- libavcodec/wmavoice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index 04bb6b3..088a6d3 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 /** -- 2.7.4