From 21b8590b53699f92802cb95121e910033cbd4f11 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Oct 2008 19:54:57 +0100 Subject: input_stream: removed the InputStream typedef Everybody should use struct input_stream. --- src/decoder/mp4_plugin.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/decoder/mp4_plugin.c') 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; -- cgit v1.2.3