From b05ba0286e2541197d58b7b7be945f495c3ffeab Mon Sep 17 00:00:00 2001 From: Alam Arias Date: Tue, 15 Dec 2009 20:07:35 -0500 Subject: updated mp4ff decoder about input_stream_seek --- src/decoder/mp4ff_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decoder/mp4ff_plugin.c') 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; } -- cgit v1.2.3