diff options
author | Max Kellermann <max@duempel.org> | 2009-11-08 21:44:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-08 21:44:01 +0100 |
commit | 217b494cc56f9f4d7b7c2bb3a88811846e765d3d (patch) | |
tree | b9506c8795836bd50e660eb424b8e81d5147b274 /src/encoder/null_encoder.c | |
parent | 5ef62312af7a6e4e2f08df994bfee4596f6545d6 (diff) | |
download | mpd-217b494cc56f9f4d7b7c2bb3a88811846e765d3d.tar.gz mpd-217b494cc56f9f4d7b7c2bb3a88811846e765d3d.tar.xz mpd-217b494cc56f9f4d7b7c2bb3a88811846e765d3d.zip |
encoder/null: removed empty close() method
That's an optional method.
Diffstat (limited to '')
-rw-r--r-- | src/encoder/null_encoder.c | 6 |
1 files changed, 0 insertions, 6 deletions
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, }; |