Commit b05ba028 authored by Alam Arias's avatar Alam Arias Committed by Max Kellermann

updated mp4ff decoder about input_stream_seek

parent 228b03ed
...@@ -99,7 +99,7 @@ mp4_seek(void *user_data, uint64_t position) ...@@ -99,7 +99,7 @@ mp4_seek(void *user_data, uint64_t position)
{ {
struct mp4_context *ctx = user_data; 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; ? 0 : -1;
} }
...@@ -356,7 +356,7 @@ mp4_tag_dup(const char *file) ...@@ -356,7 +356,7 @@ mp4_tag_dup(const char *file)
int32_t scale; int32_t scale;
int i; 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); g_warning("Failed to open file: %s", file);
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment