aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlam Arias <alam.gbc@gmail.com>2009-12-15 20:07:35 -0500
committerMax Kellermann <max@duempel.org>2009-12-16 06:47:15 +0100
commitb05ba0286e2541197d58b7b7be945f495c3ffeab (patch)
tree8cd2b5ffe976682a1b35bbd1a3e565d029f5ee10 /src
parent228b03edf8513aa1cdaf4e4647279cc580245555 (diff)
downloadmpd-b05ba0286e2541197d58b7b7be945f495c3ffeab.tar.gz
mpd-b05ba0286e2541197d58b7b7be945f495c3ffeab.tar.xz
mpd-b05ba0286e2541197d58b7b7be945f495c3ffeab.zip
updated mp4ff decoder about input_stream_seek
Diffstat (limited to '')
-rw-r--r--src/decoder/mp4ff_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/mp4ff_plugin.c b/src/decoder/mp4ff_plugin.c
index 8d3a4b9e9..9e312d568 100644
--- a/src/decoder/mp4ff_plugin.c
+++ b/src/decoder/mp4ff_plugin.c
@@ -99,7 +99,7 @@ mp4_seek(void *user_data, uint64_t position)
{
struct mp4_context *ctx = user_data;
- return input_stream_seek(ctx->input_stream, position, SEEK_SET)
+ return input_stream_seek(ctx->input_stream, position, SEEK_SET, NULL)
? 0 : -1;
}
@@ -356,7 +356,7 @@ mp4_tag_dup(const char *file)
int32_t scale;
int i;
- if (!input_stream_open(&input_stream, file)) {
+ if (!input_stream_open(&input_stream, file, NULL)) {
g_warning("Failed to open file: %s", file);
return NULL;
}