From eed578a1416fc23de6d642b22802044f56383e98 Mon Sep 17 00:00:00 2001
From: Yuri Zats <yuri@upthere.com>
Date: Thu, 9 Jun 2016 10:54:20 -0700
Subject: [PATCH] change seek_ret to int64

---
 libavformat/http.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index 622814b..f96770f 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -1220,8 +1220,9 @@ 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;
 
-- 
2.7.0

