};
static ssize_t Read(access_t *, uint8_t *, size_t);
-static int Seek(access_t *, int64_t);
+static int Seek(access_t *, uint64_t);
static int Control(access_t *, int, va_list);
/* */
return VLC_EGENERIC;
input_attachment_t *a;
- if (input_Control(input, INPUT_GET_ATTACHMENT, &a, access->psz_path))
+ if (input_Control(input, INPUT_GET_ATTACHMENT, &a, access->psz_location))
a = NULL;
vlc_object_release(input);
if (!a) {
- msg_Err(access, "Failed to find the attachment '%s'", access->psz_path);
+ msg_Err(access, "Failed to find the attachment '%s'",
+ access->psz_location);
return VLC_EGENERIC;
}
}
/* */
-static int Seek(access_t *access, int64_t position)
+static int Seek(access_t *access, uint64_t position)
{
access->info.i_pos = position;
access->info.b_eof = false;