Skip to content

Commit

Permalink
fix: close file after fixing metadata(#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
taurusxin committed Apr 6, 2024
1 parent 7ad6f27 commit dbdb73c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ncmcrypt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit dbdb73c

Please sign in to comment.