Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
bbd71155
Commit
bbd71155
authored
Sep 03, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/{mms,despotify}: remove "seek" implementation
Omitting it has the same effect as returning false unconditionally.
parent
8d36367f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
19 deletions
+3
-19
DespotifyInputPlugin.cxx
src/input/DespotifyInputPlugin.cxx
+2
-10
MmsInputPlugin.cxx
src/input/MmsInputPlugin.cxx
+1
-9
No files found.
src/input/DespotifyInputPlugin.cxx
View file @
bbd71155
...
...
@@ -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
,
};
src/input/MmsInputPlugin.cxx
View file @
bbd71155
...
...
@@ -123,14 +123,6 @@ input_mms_eof(struct input_stream *is)
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
=
{
"mms"
,
nullptr
,
...
...
@@ -143,5 +135,5 @@ const struct input_plugin input_plugin_mms = {
nullptr
,
input_mms_read
,
input_mms_eof
,
input_mms_seek
,
nullptr
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment