aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mp4_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/mp4_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 'src/decoder/mp4_plugin.c')
-rw-r--r--src/decoder/mp4_plugin.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/decoder/mp4_plugin.c b/src/decoder/mp4_plugin.c
index 4a613744e..210f1e5ec 100644
--- a/src/decoder/mp4_plugin.c
+++ b/src/decoder/mp4_plugin.c
@@ -68,15 +68,18 @@ static int mp4_getAACTrack(mp4ff_t * infile)
static uint32_t mp4_inputStreamReadCallback(void *inStream, void *buffer,
uint32_t length)
{
- return readFromInputStream((InputStream *) inStream, buffer, length);
+ return readFromInputStream((struct input_stream *) inStream,
+ buffer, length);
}
static uint32_t mp4_inputStreamSeekCallback(void *inStream, uint64_t position)
{
- return seekInputStream((InputStream *) inStream, position, SEEK_SET);
+ return seekInputStream((struct input_stream *) inStream,
+ position, SEEK_SET);
}
-static int mp4_decode(struct decoder * mpd_decoder, InputStream * inStream)
+static int
+mp4_decode(struct decoder *mpd_decoder, struct input_stream *inStream)
{
mp4ff_t *mp4fh;
mp4ff_callback_t *mp4cb;
@@ -304,7 +307,7 @@ static int mp4_decode(struct decoder * mpd_decoder, InputStream * inStream)
static struct tag *mp4DataDup(char *file, int *mp4MetadataFound)
{
struct tag *ret = NULL;
- InputStream inStream;
+ struct input_stream inStream;
mp4ff_t *mp4fh;
mp4ff_callback_t *callback;
int32_t track;