Commit Graph

12 Commits

Author SHA1 Message Date
bertrand b6d2718ec5 Fixed more potential mem leaks and use the url_free method
to free all the member pointers of the url.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7810 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 23:28:51 +00:00
arpi ef0fc1c09f memleaks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7762 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 20:25:23 +00:00
bertrand 75ed70c865 Applied patch from Gregory Kovriga <gkovriga@techunix.technion.ac.il>
- Url was not properly parsed if an @ was in the file path.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7331 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-09 04:16:16 +00:00
bertrand d5ae673150 Added support for URLs that contain an username:password
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6514 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 06:27:19 +00:00
albeu 4189e06396 printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5934 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 10:40:35 +00:00
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