[MPlayer-users] A bug of ftp connection in MPlayer-1.0pre4 and its correction

Yuan Mei meiyuan at hkem.com
Wed May 12 10:07:27 CEST 2004


As I downloaded and build yesterday, 
the mplayer cannot connect to a ftp site and play the avi file.
the output is:

Playing ftp://10.85.40.122.
Unable to open URL: ftp://10.85.40.122
 
Exiting... (End of file)

but pre3 works pretty good.

So I navigated in the source and found that in the file
libmpdemux/open.c
line 536 and 537 should be commented:
      //url_free(url);
      //return NULL;
so that 
return open_stream_full(filename,STREAM_READ,options,file_format);
can be reached thus ftp can be played correctly.

Yuan Mei


______________________________________________________
HKDict - the latest and easy to use Online Dictionary
http://www.hkdict.com





More information about the MPlayer-users mailing list