This should be an AVOption instead of a hardcoded number.
I didn't change mechanism of attempts: there was attempts variable for auth
with magical max attempts constant 3, I just add open attempts with the same 3
max attempts...
Regards, Artjom.
__
Signed-off-by: Artjom Vejsel
---
libavformat/http.c | 22 +++---
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/libavformat/http.c b/libavformat/http.c
index 4fdb2f13f2..d3558f522e 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -252,7 +252,7 @@ static
Signed-off-by: Artjom Vejsel
---
Hello.
I've faced an error while playing when downloading just stopped. It can be even
few times at one film.
After digging into source I've finished with knowledge that HTTP connection
made only once and if it was not successfull, HTTP interface j