Ticket #143: network.c.diff

File network.c.diff, 670 bytes (added by r_togni@…, 14 years ago)

Try this!

  • network.c

    RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
    retrieving revision 1.106
    diff -u -r1.106 network.c
     
    10361036
    10371037                fd = connect2Server( stream->streaming_ctrl->url->hostname,
    10381038                        port = (stream->streaming_ctrl->url->port ? stream->streaming_ctrl->url->port : 554),1 );
     1039                if(fd<0 && !stream->streaming_ctrl->url->port)
     1040                        fd = connect2Server( stream->streaming_ctrl->url->hostname,
     1041                                port = 7070, 1 );
    10391042                if(fd<0) return -1;
    10401043               
    10411044                file = stream->streaming_ctrl->url->file;