projects
/
ruby-vorbistagger.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e710876
)
Slightly reworked the final write loop.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Thu, 17 Aug 2006 17:57:20 +0000
(19:57 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 23 Aug 2006 17:39:15 +0000
(19:39 +0200)
ext/vcedit.c
patch
|
blob
|
history
diff --git
a/ext/vcedit.c
b/ext/vcedit.c
index 70eae0591af0e91ac5dee35e9858fb3aaa7e80cf..75bf80db99aac4b3205172cb5c14b520b4d9193a 100644
(file)
--- a/
ext/vcedit.c
+++ b/
ext/vcedit.c
@@
-512,7
+512,7
@@
vcedit_write (vcedit_state *state)
/* 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.
*/
@@
-537,7
+537,7
@@
vcedit_write (vcedit_state *state)
ogg_sync_wrote (&state->oy, bytes);
state->eosin = !bytes && feof (state->in);
- }
+ }
while (!state->eosin);
fclose (out);
fclose (state->in);