From bbd711556476d5ef3510678a5e525974821803b2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Sep 2013 10:54:29 +0200 Subject: input/{mms,despotify}: remove "seek" implementation Omitting it has the same effect as returning false unconditionally. --- src/input/DespotifyInputPlugin.cxx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/input/DespotifyInputPlugin.cxx') diff --git a/src/input/DespotifyInputPlugin.cxx b/src/input/DespotifyInputPlugin.cxx index 501a2a5da..30ecceed7 100644 --- a/src/input/DespotifyInputPlugin.cxx +++ b/src/input/DespotifyInputPlugin.cxx @@ -207,14 +207,6 @@ input_despotify_eof(struct input_stream *is) return ctx->eof; } -static bool -input_despotify_seek(gcc_unused struct input_stream *is, - gcc_unused goffset offset, gcc_unused int whence, - gcc_unused GError **error_r) -{ - return false; -} - static Tag * input_despotify_tag(struct input_stream *is) { @@ -234,9 +226,9 @@ const struct input_plugin input_plugin_despotify = { input_despotify_close, nullptr, nullptr, - .tag = input_despotify_tag, + input_despotify_tag, nullptr, input_despotify_read, input_despotify_eof, - input_despotify_seek, + nullptr, }; -- cgit v1.2.3