winemp3: Fix incorrect stream handling.
This commit is contained in:
parent
0539d5e497
commit
f31d240d8d
|
@ -180,7 +180,8 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
|
|||
TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc);
|
||||
}
|
||||
dpos += size;
|
||||
} while (ret == MPG123_OK);
|
||||
if (dpos > *ndst) break;
|
||||
} while (ret != MPG123_ERR && ret != MPG123_NEED_MORE);
|
||||
*ndst = dpos;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue