summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-07 11:56:14 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-07 11:56:14 +0200
commit82ef88e5865d7a5767df9155e0315c8ca0974766 (patch)
treef03db0f78409077b6534a74b49fa3f4fbf350e37 /plugins
parenta70af803be4c8abe4833864e1b5bc7103a590ad4 (diff)
liboggedit: use ogg_stream_flush instead of ogg_stream_flush_fill
Diffstat (limited to 'plugins')
-rw-r--r--plugins/liboggedit/oggedit_internal.c2
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);