Commit dc8b73c0 authored by Martin Storsjö's avatar Martin Storsjö Committed by Luca Barbato

applehttp: Change the variable for stream position in seconds into int64_t

A similar variable for the total stream duration was changed to
int64_t in b79c3df0, due to overflows in some odd
streams.
Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 648c7962
......@@ -496,7 +496,8 @@ static int applehttp_read_seek(AVFormatContext *s, int stream_index,
int64_t timestamp, int flags)
{
AppleHTTPContext *c = s->priv_data;
int pos = 0, i;
int64_t pos = 0;
int i;
struct variant *var = c->variants[0];
if ((flags & AVSEEK_FLAG_BYTE) || !c->finished)
......
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