]> git.sesse.net Git - ffmpeg/commitdiff
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 04bb6b342050cb5c011e955a2092ef0ada1f27ea..088a6d3463fd63c327e1e731cda36bf2fdc9dfad 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
     /**