winemp3: Be more tolerant to what a valid mp3 header is.

This commit is contained in:
Maarten Lankhorst 2008-07-14 14:20:28 -07:00 committed by Alexandre Julliard
parent 7f80d8e0c9
commit f53f5ebd81
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}