winemp3: Fixed exit condition within decoding loop.
This commit is contained in:
parent
658eaeb3e0
commit
e8a2452c05
|
@ -192,7 +192,7 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
|
|||
TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc);
|
||||
}
|
||||
dpos += size;
|
||||
if (dpos > *ndst) break;
|
||||
if (dpos >= *ndst) break;
|
||||
} while (ret != MPG123_ERR && ret != MPG123_NEED_MORE);
|
||||
*ndst = dpos;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue