diff --git a/src/driver/audiodec/ffmpegdec.cpp b/src/driver/audiodec/ffmpegdec.cpp index 7d065570a..76d7f806e 100644 --- a/src/driver/audiodec/ffmpegdec.cpp +++ b/src/driver/audiodec/ffmpegdec.cpp @@ -469,7 +469,7 @@ bool CFfmpegDec::SetMetaData(FILE *_in, CAudioMetaData* m, bool save_cover) { if (!meta_data_valid) { - if (!Init(_in, (const CFile::FileType) m->type)) + if (!Init(_in, (CFile::FileType) m->type)) return false; mutex.lock();