Skip to content

Commit

Permalink
Fix cherry-picked commit
Browse files Browse the repository at this point in the history
  • Loading branch information
drfiemost committed Mar 22, 2021
1 parent c583c4c commit 1c09e68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio/input/wvBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ bool wvBackend::open(const QString& fileName)
getApeTag("Comment", metaData::COMMENT);
getApeTag("Genre", metaData::GENRE);

int size = WavpackGetBinaryTagItem(m_wvContext, "Cover Art", nullptr, 0);
int size = WavpackGetBinaryTagItem(_wvContext, "Cover Art", nullptr, 0);
if (size)
{
char *buffer = new char[size];
WavpackGetBinaryTagItem(m_wvContext, "Cover Art", buffer, size);
WavpackGetBinaryTagItem(_wvContext, "Cover Art", buffer, size);
m_metaData.addInfo(new QByteArray(buffer, size));
delete [] buffer;
}
Expand Down

0 comments on commit 1c09e68

Please sign in to comment.