input/{mms,despotify}: remove "seek" implementation
Omitting it has the same effect as returning false unconditionally.
This commit is contained in:
parent
8d36367fe2
commit
bbd7115564
@ -207,14 +207,6 @@ input_despotify_eof(struct input_stream *is)
|
|||||||
return ctx->eof;
|
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 *
|
static Tag *
|
||||||
input_despotify_tag(struct input_stream *is)
|
input_despotify_tag(struct input_stream *is)
|
||||||
{
|
{
|
||||||
@ -234,9 +226,9 @@ const struct input_plugin input_plugin_despotify = {
|
|||||||
input_despotify_close,
|
input_despotify_close,
|
||||||
nullptr,
|
nullptr,
|
||||||
nullptr,
|
nullptr,
|
||||||
.tag = input_despotify_tag,
|
input_despotify_tag,
|
||||||
nullptr,
|
nullptr,
|
||||||
input_despotify_read,
|
input_despotify_read,
|
||||||
input_despotify_eof,
|
input_despotify_eof,
|
||||||
input_despotify_seek,
|
nullptr,
|
||||||
};
|
};
|
||||||
|
@ -123,14 +123,6 @@ input_mms_eof(struct input_stream *is)
|
|||||||
return m->eof;
|
return m->eof;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
|
||||||
input_mms_seek(gcc_unused struct input_stream *is,
|
|
||||||
gcc_unused goffset offset, gcc_unused int whence,
|
|
||||||
gcc_unused GError **error_r)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
const struct input_plugin input_plugin_mms = {
|
const struct input_plugin input_plugin_mms = {
|
||||||
"mms",
|
"mms",
|
||||||
nullptr,
|
nullptr,
|
||||||
@ -143,5 +135,5 @@ const struct input_plugin input_plugin_mms = {
|
|||||||
nullptr,
|
nullptr,
|
||||||
input_mms_read,
|
input_mms_read,
|
||||||
input_mms_eof,
|
input_mms_eof,
|
||||||
input_mms_seek,
|
nullptr,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user