/* clear it, because not all paths to here do */
state->eosin = 0;
- while (!state->eosin) { /* We reached eos, not eof */
+ do {
/* We copy the rest of the stream (other logical streams)
* through, a page at a time.
*/
ogg_sync_wrote (&state->oy, bytes);
state->eosin = !bytes && feof (state->in);
- }
+ } while (!state->eosin);
fclose (out);
fclose (state->in);