Created
April 13, 2015 05:32
-
-
Save rcombs/b532bce798b560efdd8a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libavformat/http.c b/libavformat/http.c | |
index b2293da..bbe5de5 100644 | |
--- a/libavformat/http.c | |
+++ b/libavformat/http.c | |
@@ -917,6 +917,9 @@ static int http_connect(URLContext *h, const char *path, const char *local_path, | |
if (err < 0) | |
goto done; | |
+ if (*new_location) | |
+ s->off = off; | |
+ | |
err = (off == s->off) ? 0 : -1; | |
done: | |
av_freep(&authstr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment