aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/run_encoder.c2
-rw-r--r--test/test_vorbis_encoder.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/run_encoder.c b/test/run_encoder.c
index 16e633029..4c05a06c7 100644
--- a/test/run_encoder.c
+++ b/test/run_encoder.c
@@ -121,7 +121,7 @@ int main(int argc, char **argv)
encoder_to_stdout(encoder);
}
- ret = encoder_flush(encoder, &error);
+ ret = encoder_end(encoder, &error);
if (!ret) {
g_printerr("encoder_flush() failed: %s\n",
error->message);
diff --git a/test/test_vorbis_encoder.c b/test/test_vorbis_encoder.c
index 370a8a59e..969ab7687 100644
--- a/test/test_vorbis_encoder.c
+++ b/test/test_vorbis_encoder.c
@@ -99,7 +99,7 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
/* finish */
- success = encoder_flush(encoder, NULL);
+ success = encoder_end(encoder, NULL);
assert(success);
encoder_to_stdout(encoder);