1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 03:57:06 +00:00

Stop parsing an url after connection failure

Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12270 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtognimp 2004-04-24 13:19:20 +00:00
parent 94e2c8385b
commit cad15646ef

View File

@ -527,8 +527,8 @@ if(strncmp("dvd://",filename,6) == 0){
stream=new_stream(f,STREAMTYPE_STREAM);
if( streaming_start( stream, file_format, url )<0){
mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_UnableOpenURL, filename);
//url_free(url);
//return NULL;
url_free(url);
return NULL;
} else {
mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_ConnToServer, url->hostname );
url_free(url);