From 217b494cc56f9f4d7b7c2bb3a88811846e765d3d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 8 Nov 2009 21:44:01 +0100 Subject: encoder/null: removed empty close() method That's an optional method. --- src/encoder/null_encoder.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/encoder') diff --git a/src/encoder/null_encoder.c b/src/encoder/null_encoder.c index 6e0e5b802..92052b095 100644 --- a/src/encoder/null_encoder.c +++ b/src/encoder/null_encoder.c @@ -72,11 +72,6 @@ null_encoder_open(struct encoder *_encoder, return true; } -static void -null_encoder_close(G_GNUC_UNUSED struct encoder *_encoder) -{ -} - static bool null_encoder_write(struct encoder *_encoder, const void *data, size_t length, @@ -115,7 +110,6 @@ const struct encoder_plugin null_encoder_plugin = { .init = null_encoder_init, .finish = null_encoder_finish, .open = null_encoder_open, - .close = null_encoder_close, .write = null_encoder_write, .read = null_encoder_read, }; -- cgit v1.2.3