aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/flac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-26 19:54:57 +0100
committerMax Kellermann <max@duempel.org>2008-10-26 19:54:57 +0100
commit21b8590b53699f92802cb95121e910033cbd4f11 (patch)
tree0a1d8fde8468929479d38a1e96e4938542e1d80a /src/decoder/flac_plugin.c
parentbbaedb17d52cf14cf1abc3f24a90dfa06f875440 (diff)
downloadmpd-21b8590b53699f92802cb95121e910033cbd4f11.tar.gz
mpd-21b8590b53699f92802cb95121e910033cbd4f11.tar.xz
mpd-21b8590b53699f92802cb95121e910033cbd4f11.zip
input_stream: removed the InputStream typedef
Everybody should use struct input_stream.
Diffstat (limited to '')
-rw-r--r--src/decoder/flac_plugin.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/decoder/flac_plugin.c b/src/decoder/flac_plugin.c
index 7b9fce27d..83d6fef55 100644
--- a/src/decoder/flac_plugin.c
+++ b/src/decoder/flac_plugin.c
@@ -301,8 +301,9 @@ static struct tag *flacTagDup(char *file)
return ret;
}
-static int flac_decode_internal(struct decoder * decoder,
- InputStream * inStream, int is_ogg)
+static int
+flac_decode_internal(struct decoder * decoder, struct input_stream *inStream,
+ int is_ogg)
{
flac_decoder *flacDec;
FlacData data;
@@ -378,7 +379,8 @@ fail:
return 0;
}
-static int flac_decode(struct decoder * decoder, InputStream * inStream)
+static int
+flac_decode(struct decoder * decoder, struct input_stream *inStream)
{
return flac_decode_internal(decoder, inStream, 0);
}
@@ -415,12 +417,14 @@ out:
return ret;
}
-static int oggflac_decode(struct decoder *decoder, InputStream * inStream)
+static int
+oggflac_decode(struct decoder *decoder, struct input_stream *inStream)
{
return flac_decode_internal(decoder, inStream, 1);
}
-static bool oggflac_try_decode(InputStream * inStream)
+static bool
+oggflac_try_decode(struct input_stream *inStream)
{
return FLAC_API_SUPPORTS_OGG_FLAC &&
ogg_stream_type_detect(inStream) == FLAC;