mirror of
https://github.com/mpv-player/mpv
synced 2025-03-02 20:28:02 +00:00
check4proxies always creates a copy, so url should be freed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16419 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e036d0cf35
commit
c871483f14
@ -849,7 +849,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
|
||||
stream->streaming_ctrl->bandwidth = network_bandwidth;
|
||||
url = url_new(stream->url);
|
||||
stream->streaming_ctrl->url = check4proxies(url);
|
||||
//url_free(url);
|
||||
url_free(url);
|
||||
|
||||
mp_msg(MSGT_OPEN, MSGL_INFO, "STREAM_ASF, URL: %s\n", stream->url);
|
||||
if((!strncmp(stream->url, "http", 4)) && (*file_format!=DEMUXER_TYPE_ASF && *file_format!=DEMUXER_TYPE_UNKNOWN)) {
|
||||
|
Loading…
Reference in New Issue
Block a user