winemp3: Fixed exit condition within decoding loop.

This commit is contained in:
Stefan Reimer 2011-01-25 00:44:18 -08:00 committed by Alexandre Julliard
parent 658eaeb3e0
commit e8a2452c05
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc); TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc);
} }
dpos += size; dpos += size;
if (dpos > *ndst) break; if (dpos >= *ndst) break;
} while (ret != MPG123_ERR && ret != MPG123_NEED_MORE); } while (ret != MPG123_ERR && ret != MPG123_NEED_MORE);
*ndst = dpos; *ndst = dpos;
} }