diff --git a/libavformat/http.c b/libavformat/http.c index 76f0a67c61..c5df1def62 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -348,7 +348,7 @@ redo: goto fail; } if ((s->http_code == 301 || s->http_code == 302 || - s->http_code == 303 || s->http_code == 307) && + s->http_code == 303 || s->http_code == 307 || s->http_code == 308) && location_changed == 1) { /* url moved, get next */ ffurl_closep(&s->hd);