fix: close file after fixing metadata(#17)

This commit is contained in:
TaurusXin 2024-04-06 10:47:49 +08:00
parent 7ad6f27b75
commit dbdb73c120
Signed by: taurusxin
GPG Key ID: C334DCA04AC2D2CC
1 changed files with 2 additions and 1 deletions

View File

@ -253,9 +253,10 @@ void NeteaseCrypt::FixMetadata()
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->~File();
}
void NeteaseCrypt::Dump()