aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-15 21:06:53 +0100
committerMax Kellermann <max@duempel.org>2012-02-15 21:06:53 +0100
commit645663cdfe9be55165b4890e45d5c483c1a6635d (patch)
treea8b04840caa33c30691b395df18cfaee957470c6 /src/decoder
parent12b4ebf8d465631617f5c941627b893f77e6da57 (diff)
parentee2bcbb41db7eb33fb30d69e650aebf98724958b (diff)
downloadmpd-645663cdfe9be55165b4890e45d5c483c1a6635d.tar.gz
mpd-645663cdfe9be55165b4890e45d5c483c1a6635d.tar.xz
mpd-645663cdfe9be55165b4890e45d5c483c1a6635d.zip
Merge branch 'af' of git://git.musicpd.org/jn/mpd
Diffstat (limited to '')
-rw-r--r--src/decoder/audiofile_decoder_plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder/audiofile_decoder_plugin.c b/src/decoder/audiofile_decoder_plugin.c
index 7db7c7517..b344795e7 100644
--- a/src/decoder/audiofile_decoder_plugin.c
+++ b/src/decoder/audiofile_decoder_plugin.c
@@ -65,14 +65,14 @@ audiofile_file_read(AFvirtualfile *vfile, void *data, size_t length)
return nbytes;
}
-static long
+static AFfileoffset
audiofile_file_length(AFvirtualfile *vfile)
{
struct input_stream *is = (struct input_stream *) vfile->closure;
return is->size;
}
-static long
+static AFfileoffset
audiofile_file_tell(AFvirtualfile *vfile)
{
struct input_stream *is = (struct input_stream *) vfile->closure;
@@ -87,8 +87,8 @@ audiofile_file_destroy(AFvirtualfile *vfile)
vfile->closure = NULL;
}
-static long
-audiofile_file_seek(AFvirtualfile *vfile, long offset, int is_relative)
+static AFfileoffset
+audiofile_file_seek(AFvirtualfile *vfile, AFfileoffset offset, int is_relative)
{
struct input_stream *is = (struct input_stream *) vfile->closure;
int whence = (is_relative ? SEEK_CUR : SEEK_SET);