diff decoders/mpglib/layer3.c @ 520:64ae7ac242b9

Fixed uninitialized buffer in mpglib. (Thanks, Phil!).
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 06 Jul 2007 11:29:02 +0000
parents 5b00e43ec23c
children
line wrap: on
line diff
--- a/decoders/mpglib/layer3.c	Sun Oct 29 07:14:48 2006 +0000
+++ b/decoders/mpglib/layer3.c	Fri Jul 06 11:29:02 2007 +0000
@@ -1922,6 +1922,7 @@
   {
     real hybridIn[2][SBLIMIT][SSLIMIT];
     real hybridOut[2][SSLIMIT][SBLIMIT];
+    memset(hybridIn, '\0', sizeof (hybridIn));
 
     {
       struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]);