summaryrefslogtreecommitdiffstats
path: root/libmpdemux/network.c
Commit message (Collapse)AuthorAgeFilesLines
* posix compliance, dont use ancient legacy namerfelker2006-05-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18467 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove superfluous extern variable declaration.diego2006-03-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17971 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing url_free when using proxy and connect failsreimar2006-03-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17778 b3059339-0415-0410-9bf9-f77b7e298cf2
* More complete ASF MIME detection, closing bug# 248,gpoirier2006-02-201-0/+2
| | | | | | | | | | patch by Zuxy Meng < zuxy POIS meng AH gmail.com >, Approved by Bertrand Baudet, who agrees to get the cola shipment. :) Original thread: Date: Nov 2, 2005 7:11 AM Subject: [MPlayer-dev-eng] [PATCH] More complete ASF MIME detection, closing bug# 248 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17658 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add "application/x-mms-framed" for ASFrtognimp2005-12-241-0/+1
| | | | | | | | Fixes http://64.34.147.109:3690/CFMJAM, closes bug #420 Fix by Rado R. ||| r_a_d_o |a| hotmail | com ||| git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17236 b3059339-0415-0410-9bf9-f77b7e298cf2
* Harcoded eng strings on libmpdemux/network.c to help_mpreynaldo2005-12-101-31/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use PRI?64 defines as format strings for 64 bit variables.reimar2005-10-131-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleak fixes when using an http proxyreimar2005-09-061-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16420 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleak fixes when invalid http url specified.reimar2005-09-061-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16418 b3059339-0415-0410-9bf9-f77b7e298cf2
* SHOUTcast and ultravox supportreimar2005-07-191-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16014 b3059339-0415-0410-9bf9-f77b7e298cf2
* small warning fix:rathann2005-07-101-1/+1
| | | | | | | function doesn't return anything and the return value is never checked or used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15955 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix seeking over http for files larger 2 GBreimar2005-06-241-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15813 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported all network streams to the new APInicodvb2005-05-291-743/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not force real demuxer on x-pn-realaudio mimetypertognimp2005-04-171-1/+1
| | | | | | | | | Real and realaudio share the same mimetype, forcing real demuxer prevent realaudio files from being played. Fixes http://www.bbc.co.uk/romanian/rom.ra git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15210 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for raw udp:// streamingnicodvb2005-02-171-3/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14721 b3059339-0415-0410-9bf9-f77b7e298cf2
* bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>faust32005-02-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try http if pnm connection failsrtognimp2004-12-281-3/+7
| | | | | | | Fixes pnm://www.darrelbowen.com/videos/commercials256.rm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14266 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try port 7070 if 554 fails for realrtsp streamsrtognimp2004-11-221-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14018 b3059339-0415-0410-9bf9-f77b7e298cf2
* forced autodetection of file format when content-type is video-x-mpeg to ↵nicodvb2004-11-211-3/+3
| | | | | | give mpeg-ts a chance git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14003 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix segfault caused by changing a pointer that will be freed laterrtognimp2004-07-251-5/+7
| | | | | | | Patch by Martin Simmons ( vyslnqaaxytp at spammotel dot com ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12895 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make rtp:// cohexist with LIVE.COMrtognimp2004-07-111-14/+4
| | | | | | | Patch by Nico Sabbi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12800 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid double slashes, patch by Yoshinori Satoalex2004-06-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12680 b3059339-0415-0410-9bf9-f77b7e298cf2
* RFC compliance patch by Eric Lammerts <eric@lammerts.org>alex2004-06-251-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12639 b3059339-0415-0410-9bf9-f77b7e298cf2
* calling bind with multicast addresses doesn't work on windows, patch by ↵faust32004-06-181-3/+21
| | | | | | Martin Decky <deckm1am at ss1000.ms.mff.cuni.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add detection of nsa streamed by aol ultravox serverrtognimp2004-05-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12478 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to get an asf file with normal http protocol if http streamingrtognimp2004-05-011-0/+12
| | | | | | | fail. Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12391 b3059339-0415-0410-9bf9-f77b7e298cf2
* Should be Connection: close, and not closed.bertrand2004-04-291-1/+1
| | | | | | | | It has been there since v1.3... Thanks to Jonas Jensen <jbj@knef.dk> to noticed it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Suggest -playlist if asf_stream_start failsrtognimp2004-04-251-0/+1
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle url redirectionrtognimp2004-04-241-2/+30
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12269 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: don't run strcmp if arg is NULLrtognimp2004-04-191-1/+1
| | | | | | | Pathc by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Respect -playlist for asx streamsrtognimp2004-04-171-0/+6
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try Real rtsp, then live.com on every rtsp stream (remove extensionrtognimp2004-04-141-19/+14
| | | | | | | based selection) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12207 b3059339-0415-0410-9bf9-f77b7e298cf2
* nsv (Nullsoft streaming video) demuxerrtognimp2004-04-121-3/+12
| | | | | | | Patch by Reza Jelveh <reza (dot) jelveh (at) tu-harburg (dot) de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Seek in HTTP streams and stdin seek fixesrtognimp2004-03-131-1/+5
| | | | | | | Patch by eviv bulgroz <ebulgroz(at)yahoo(dot)com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12019 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable seeking in http streamsattila2004-02-171-6/+65
| | | | | | | patch by Valentine Zaretsky <valik+mplayerdev@email.dp.ua> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Send HTTP Cookies (reading from mozilla/netscape files) support by Dave ↵alex2003-12-081-2/+8
| | | | | | Lambley <mplayer-dev-eng@dlambley.freeserve.co.uk>. Disabled by default. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11584 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add detection of Real rtsp when there are queries in url.rtognimp2003-11-231-21/+7
| | | | | | | Patch by rgselk <rgselknospam(at)yahoo(dot)com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11506 b3059339-0415-0410-9bf9-f77b7e298cf2
* User settable http user-agent. Patch by Per Wigrenalex2003-10-221-4/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11229 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable a silly errormessagealex2003-10-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11228 b3059339-0415-0410-9bf9-f77b7e298cf2
* ftp support. The change on connect2Server is needed bcs we need 2albeu2003-08-151-14/+14
| | | | | | | different level of verbosity for control and data connections. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch from Andreas Hess <jaska@gmx.net>:bertrand2003-06-211-22/+17
| | | | | | | | rtsp://<host>/<file>:<port> is not a valid URL, but rtsp://<host>:<port>/<file> is. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10318 b3059339-0415-0410-9bf9-f77b7e298cf2
* Networking support under MinGW.diego2003-06-111-9/+53
| | | | | | | Patch by flo/yepyep <flodt8@yahoo.de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD ↵alex2003-05-291-3/+3
| | | | | | standard). Patch by FloDt <flodt8@yahoo.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10207 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix redirection in real rtsp connections.rtognimp2003-05-281-2/+20
| | | | | | | Patch by yepyep (sdpplin.c part not committed) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10200 b3059339-0415-0410-9bf9-f77b7e298cf2
* Recognize ra and rm extensions even with query strings,rtognimp2003-05-231-4/+15
| | | | | | | | eg: rstp://www.addr.com/file.rm?var=123 Based on an idea by Felix Buenemann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10172 b3059339-0415-0410-9bf9-f77b7e298cf2
* We now check for "sip:" URLs - which are handled using the same LIVE.COMrsf2003-05-031-1/+10
| | | | | | | code as "rtsp://" URLs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10056 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some .ra files are playable, noted by Ross Finlaysonrtognimp2003-04-181-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed the code that checks for a ".rm" URL extension to also make surersf2003-04-181-1/+1
| | | | | | | that the extension is not NULL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9924 b3059339-0415-0410-9bf9-f77b7e298cf2
* Real rstp:// streaming support, ported from xinertognimp2003-04-171-0/+63
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9923 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use inet_ntoa where inet_ntop is not available.bertrand2003-04-101-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9901 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed some wrappers, now the configure checks for inet_pton. patch by Joey ↵alex2003-04-091-0/+4
| | | | | | Parrish <joey@nicewarrior.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new config headersalbeu2003-03-301-5/+5
| | | | | | | Remove STREAMTYPE_PLAYLIST. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9750 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added IPv6 support, patch by Dave Lambley ↵bertrand2003-03-261-21/+121
| | | | | | <mplayer-dev-eng@dlambley.freeserve.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9692 b3059339-0415-0410-9bf9-f77b7e298cf2
* better cache size defaultsarpi2003-01-131-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8940 b3059339-0415-0410-9bf9-f77b7e298cf2
* Finally commented out the code for autodetection based on the extension.bertrand2003-01-111-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return another error code for timeout.bertrand2003-01-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8825 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added the ICY 403 "Service Forbiden" error message.bertrand2003-01-041-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8767 b3059339-0415-0410-9bf9-f77b7e298cf2
* pnm:// support (ported from xine)arpi2002-12-261-0/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added OGG streaming support, patch from Balatoni Denes <pnis@coder.hu>bertrand2002-11-051-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8115 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* GCC warning fixesbertrand2002-10-291-6/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7954 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow cache to be disabled (-nocache should override cachesize autodetectionarpi2002-10-231-1/+1
| | | | | | | in stream layer) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7882 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup config option handling in libmpdemux.arpi2002-10-231-52/+14
| | | | | | | | removed overcompilacted m_config_register_options() mess - export the subconfig structs instead git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7868 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpdemux.c|h moved to libinput, mpdemux_check_interrupt() -> ↵arpi2002-10-231-2/+3
| | | | | | mp_input_check_interrupt() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7863 b3059339-0415-0410-9bf9-f77b7e298cf2
* Display the IP address that has been resolved.bertrand2002-09-271-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7514 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added a new ASX playlist mime-typebertrand2002-09-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return -2 for fatal error while connecting to a server.bertrand2002-09-031-4/+6
| | | | | | | Fatal are unable to resolve name, connection timeout... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7252 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fixes by Ross Finlayson <finlayson@live.com>arpi2002-08-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7008 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied live.com streaming patch (-sdp and rtsp:// support) by Ross ↵arpi2002-08-051-1/+27
| | | | | | | | | Finlayson <finlayson@live.com> see <http://www.live.com/mplayer/> for details. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Retreive the bandwidth option from the command line.bertrand2002-07-051-6/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the -pass option to -passwd to avoid clash with mencoder option.bertrand2002-06-251-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Read username/password from the -user -pass command line options.bertrand2002-06-251