Mercurial > SDL_sound_CoreAudio
comparison 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 |
comparison
equal
deleted
inserted
replaced
518:16cbfcb8d7fb | 520:64ae7ac242b9 |
---|---|
1920 | 1920 |
1921 for (gr=0;gr<granules;gr++) | 1921 for (gr=0;gr<granules;gr++) |
1922 { | 1922 { |
1923 real hybridIn[2][SBLIMIT][SSLIMIT]; | 1923 real hybridIn[2][SBLIMIT][SSLIMIT]; |
1924 real hybridOut[2][SSLIMIT][SBLIMIT]; | 1924 real hybridOut[2][SSLIMIT][SBLIMIT]; |
1925 memset(hybridIn, '\0', sizeof (hybridIn)); | |
1925 | 1926 |
1926 { | 1927 { |
1927 struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]); | 1928 struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]); |
1928 long part2bits; | 1929 long part2bits; |
1929 if(fr->lsf) | 1930 if(fr->lsf) |