Commit Graph

7 Commits

Author SHA1 Message Date
bertrand 848c35b252 Removed the url_copy function , since it was badly implemented,
and a url_new can do the job.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4654 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-11 05:19:11 +00:00
bertrand 052eec728b Added a debug function to print the struct's variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4120 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-12 21:02:00 +00:00
pl e0c43586ae x = malloc(strlen(s) + c) ... strcpy(x, s)
replaced by
x = strdup(s)

Note: sometimes c was 0 and that was a bug
Note2: code still has to be added to check the returned value of these funcs


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3613 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 13:03:22 +00:00
bertrand 24c6f11c8b Added 2 functions to escape/unescape the url as described in the RFC 2396.
Code borrowed from ASFRecorder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3497 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 23:48:47 +00:00
bertrand 3ea29912ef Applied the patch from Alban Bedel <albeu@free.fr>.
He added some errors checking on network code.
Added a check on the port number parsing in the url.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3495 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 20:45:30 +00:00
bertrand 04178fa6f9 Added a function to copy URL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3041 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 22:15:32 +00:00
arpi 881e5d0783 libdemuxer...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 18:49:08 +00:00