aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mp4_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;