Zero the FLACContext during initialisation

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7662 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-10-27 13:18:05 +00:00
parent 5a4423fc23
commit d1dc0bd824

View file

@ -40,6 +40,8 @@ static bool flac_init(FLACContext* fc)
int endofmetadata=0;
int blocklength;
ci->memset(fc,0,sizeof(FLACContext));
if (ci->read_filebuf(buf, 4) < 4)
{
return false;