updated mp4ff decoder about input_stream_seek

This commit is contained in:
Alam Arias 2009-12-15 20:07:35 -05:00 committed by Max Kellermann
parent 228b03edf8
commit b05ba0286e
1 changed files with 2 additions and 2 deletions

View File

@ -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)
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;
} }