diff options
author | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-14 06:44:30 +0000 |
---|---|---|
committer | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-14 06:44:30 +0000 |
commit | 8629e9e819cfce49406f55c2655bd1ad6f72d0df (patch) | |
tree | 71d1ab0ec4cb3ed842755f8c10d4ed807ec31588 /libmpdemux/open.c | |
parent | 32d1e1014ff45f4955ee0315b10b81eea117a8c2 (diff) | |
download | mpv-8629e9e819cfce49406f55c2655bd1ad6f72d0df.tar.bz2 mpv-8629e9e819cfce49406f55c2655bd1ad6f72d0df.tar.xz |
Added support for the environment variable http_proxy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4147 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/open.c')
-rw-r--r-- | libmpdemux/open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c index e4d8177035..7af6221f3b 100644 --- a/libmpdemux/open.c +++ b/libmpdemux/open.c @@ -375,6 +375,7 @@ tv_err: streaming_ctrl_t *streaming_ctrl; streaming_ctrl = streaming_ctrl_new(); if( streaming_ctrl==NULL ) return NULL; + url = check4proxies( url ); streaming_ctrl->url = url_copy( url ); if( autodetectProtocol( streaming_ctrl, &f, file_format )<0 ) { mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_UnableOpenURL, filename ); |