Fix buffer overrun (or, well, actually a typo, 80 should be 0x80...).
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 1 May 2010 18:45:02 +0000 (18:45 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 1 May 2010 18:45:02 +0000 (18:45 +0000)
Partially fixes issue 1758.

Originally committed as revision 23005 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/wmavoice.c

index 04bb6b3..088a6d3 100644 (file)
@@ -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
     /**