winemp3: Be more tolerant to what a valid mp3 header is.
This commit is contained in:
parent
7f80d8e0c9
commit
f53f5ebd81
|
@ -116,7 +116,7 @@ static DWORD MPEG3_GetFormatIndex(LPWAVEFORMATEX wfx)
|
|||
{
|
||||
if (wfx->nChannels == fmts[i].nChannels &&
|
||||
wfx->nSamplesPerSec == fmts[i].rate &&
|
||||
wfx->wBitsPerSample == fmts[i].nBits)
|
||||
(wfx->wBitsPerSample == fmts[i].nBits || !fmts[i].nBits))
|
||||
return i;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue