From 82ef88e5865d7a5767df9155e0315c8ca0974766 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sat, 7 Jun 2014 11:56:14 +0200 Subject: liboggedit: use ogg_stream_flush instead of ogg_stream_flush_fill --- plugins/liboggedit/oggedit_internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3