diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-06-07 11:56:14 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-06-07 11:56:14 +0200 |
commit | 82ef88e5865d7a5767df9155e0315c8ca0974766 (patch) | |
tree | f03db0f78409077b6534a74b49fa3f4fbf350e37 | |
parent | a70af803be4c8abe4833864e1b5bc7103a590ad4 (diff) |
liboggedit: use ogg_stream_flush instead of ogg_stream_flush_fill
-rw-r--r-- | plugins/liboggedit/oggedit_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/liboggedit/oggedit_internal.c b/plugins/liboggedit/oggedit_internal.c index 8db0ec69..29c9aa6d 100644 --- a/plugins/liboggedit/oggedit_internal.c +++ b/plugins/liboggedit/oggedit_internal.c @@ -276,7 +276,7 @@ int copy_up_to_header(DB_FILE *in, FILE *out, ogg_sync_state *oy, ogg_page *og, long flush_stream(FILE *out, ogg_stream_state *os) { ogg_page og; - while (ogg_stream_flush_fill(os, &og, MAXPAYLOAD)) + while (ogg_stream_flush(os, &og)) if (!write_page(out, &og)) return OGGEDIT_WRITE_ERROR; const long pageno = ogg_stream_check(os) ? OGGEDIT_FLUSH_FAILED : ogg_page_pageno(&og); |