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
ee2bcbb4
Commit
ee2bcbb4
authored
Feb 15, 2012
by
Jonathan Neuschäfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/audiofile: fix compiler warnings with libaudiofile 0.3.3
This might break older versions, I didn't test.
parent
ae28ba84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
audiofile_decoder_plugin.c
src/decoder/audiofile_decoder_plugin.c
+4
-4
No files found.
src/decoder/audiofile_decoder_plugin.c
View file @
ee2bcbb4
...
@@ -65,14 +65,14 @@ audiofile_file_read(AFvirtualfile *vfile, void *data, size_t length)
...
@@ -65,14 +65,14 @@ audiofile_file_read(AFvirtualfile *vfile, void *data, size_t length)
return
nbytes
;
return
nbytes
;
}
}
static
long
static
AFfileoffset
audiofile_file_length
(
AFvirtualfile
*
vfile
)
audiofile_file_length
(
AFvirtualfile
*
vfile
)
{
{
struct
input_stream
*
is
=
(
struct
input_stream
*
)
vfile
->
closure
;
struct
input_stream
*
is
=
(
struct
input_stream
*
)
vfile
->
closure
;
return
is
->
size
;
return
is
->
size
;
}
}
static
long
static
AFfileoffset
audiofile_file_tell
(
AFvirtualfile
*
vfile
)
audiofile_file_tell
(
AFvirtualfile
*
vfile
)
{
{
struct
input_stream
*
is
=
(
struct
input_stream
*
)
vfile
->
closure
;
struct
input_stream
*
is
=
(
struct
input_stream
*
)
vfile
->
closure
;
...
@@ -87,8 +87,8 @@ audiofile_file_destroy(AFvirtualfile *vfile)
...
@@ -87,8 +87,8 @@ audiofile_file_destroy(AFvirtualfile *vfile)
vfile
->
closure
=
NULL
;
vfile
->
closure
=
NULL
;
}
}
static
long
static
AFfileoffset
audiofile_file_seek
(
AFvirtualfile
*
vfile
,
long
offset
,
int
is_relative
)
audiofile_file_seek
(
AFvirtualfile
*
vfile
,
AFfileoffset
offset
,
int
is_relative
)
{
{
struct
input_stream
*
is
=
(
struct
input_stream
*
)
vfile
->
closure
;
struct
input_stream
*
is
=
(
struct
input_stream
*
)
vfile
->
closure
;
int
whence
=
(
is_relative
?
SEEK_CUR
:
SEEK_SET
);
int
whence
=
(
is_relative
?
SEEK_CUR
:
SEEK_SET
);
...
...
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