aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Zats <yuri@upthere.com>2016-06-09 10:54:20 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-16 23:55:21 +0200
commitebda8216dcbc5251491ba2a723deb55ccaef4c30 (patch)
treea1086a0d8ef6011ff1981cb67e1620be44984271
parentf5273197dccfb5e060b255fc6701bfef042c0140 (diff)
downloadffmpeg-ebda8216dcbc5251491ba2a723deb55ccaef4c30.tar.gz
avformat/http: change seek_ret to int64
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index 622814bb05..51275d9960 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -1220,7 +1220,8 @@ static int64_t http_seek_internal(URLContext *h, int64_t off, int whence, int fo
static int http_read_stream(URLContext *h, uint8_t *buf, int size)
{
HTTPContext *s = h->priv_data;
- int err, new_location, read_ret, seek_ret;
+ int err, new_location, read_ret;
+ int64_t seek_ret;
if (!s->hd)
return AVERROR_EOF;