Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. diff --git a/libavformat/http.c b/libavformat/http.c
  2. index bd75611..b0bcfb8 100644
  3. --- a/libavformat/http.c
  4. +++ b/libavformat/http.c
  5. @@ -161,9 +161,11 @@ redo:
  6. use_proxy = 0;
  7. if (port < 0)
  8. port = 443;
  9. + } else {
  10. + lower_proto = "tcp";
  11. + if (port < 0)
  12. + port = 80;
  13. }
  14. - if (port < 0)
  15. - port = 80;
  16.  
  17. if (path1[0] == '\0')
  18. path = "/";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement