fix: close file after fixing metadata(#17)
This commit is contained in:
parent
7ad6f27b75
commit
dbdb73c120
|
@ -253,9 +253,10 @@ void NeteaseCrypt::FixMetadata()
|
||||||
tag->setAlbum(TagLib::String(mMetaData->album(), TagLib::String::UTF8));
|
tag->setAlbum(TagLib::String(mMetaData->album(), TagLib::String::UTF8));
|
||||||
}
|
}
|
||||||
|
|
||||||
tag->setComment(TagLib::String("Create by netease copyright protected dump tool. author 5L", TagLib::String::UTF8));
|
tag->setComment(TagLib::String("Create by taurusxin/ncmdump.", TagLib::String::UTF8));
|
||||||
|
|
||||||
audioFile->save();
|
audioFile->save();
|
||||||
|
audioFile->~File();
|
||||||
}
|
}
|
||||||
|
|
||||||
void NeteaseCrypt::Dump()
|
void NeteaseCrypt::Dump()
|
||||||
|
|
Loading…
Reference in New Issue