mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
CBaseDec::GetMetaDataBase - fix segfault on scroll and any file is played
This commit is contained in:
@@ -191,7 +191,8 @@ bool CBaseDec::GetMetaDataBase(CAudiofile* const in, const bool nice)
|
||||
#ifdef ENABLE_FLAC
|
||||
else if (in->FileType == CFile::FILE_FLAC)
|
||||
{
|
||||
Status = CFlacDec::getInstance()->GetMetaData(fp, nice, &in->MetaData);
|
||||
CFlacDec FlacDec;
|
||||
Status = FlacDec.GetMetaData(fp, nice, &in->MetaData);
|
||||
}
|
||||
#endif
|
||||
if ( fclose( fp ) == EOF )
|
||||
|
Reference in New Issue
Block a user