X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fhttp.c;h=51275d9960530643cf380e0f41b41d859570ee87;hb=c957909a9f48196bfb4cb295c750ec6d495d7bbb;hp=622814bb05812ce1f2664f431933dde9bd5c7d1d;hpb=a454ad670c770902f739012ff9ed4178bd9e6feb;p=ffmpeg diff --git a/libavformat/http.c b/libavformat/http.c index 622814bb058..51275d99605 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;