1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

Fix VBR check in MP3 importer

Reported here:

35e88d995b (r49760178)
This commit is contained in:
Leland Lucius
2021-04-20 11:50:31 -05:00
parent db5a988e7f
commit 795c097ea9

View File

@@ -980,7 +980,7 @@ mad_flow MP3ImportFileHandle::FilterCB(struct mad_stream const *stream,
}
// Skip the VBR Scale
if (len >= 4 && flags && hasScale)
if (len >= 4 && flags & hasScale)
{
ptr += 4;
len -= 4;