1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00
Commit Graph

122 Commits

Author SHA1 Message Date
reynaldo
d427579f79 marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:20:30 +00:00
reynaldo
32492483c0 drops casts from void * on malloc/calloc from libmpdemux code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19067 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 16:41:13 +00:00
rfelker
7d44793978 posix compliance, dont use ancient legacy name
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18467 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 05:51:35 +00:00
diego
55859c930c Remove superfluous extern variable declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17971 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:31:08 +00:00
reimar
5b3801e774 missing url_free when using proxy and connect fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17778 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 15:07:48 +00:00
gpoirier
528111d917 More complete ASF MIME detection, closing bug# 248,
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
2006-02-20 21:59:28 +00:00
rathann
e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
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
2006-02-09 14:08:03 +00:00
rtognimp
c2c91b66bc Add "application/x-mms-framed" for ASF
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
2005-12-24 18:17:39 +00:00
reynaldo
ea63d7c7a5 Harcoded eng strings on libmpdemux/network.c to help_mp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17154 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-10 01:40:18 +00:00
diego
36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
reimar
169416fd51 Use PRI?64 defines as format strings for 64 bit variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 18:33:56 +00:00
reimar
92850fab06 memleak fixes when using an http proxy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16420 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:14:55 +00:00
reimar
e036d0cf35 memleak fixes when invalid http url specified.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16418 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:00:57 +00:00
reimar
c0a4d94468 SHOUTcast and ultravox support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16014 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-19 12:07:04 +00:00
rathann
c18da34beb small warning fix:
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
2005-07-10 14:09:45 +00:00
reimar
d8d2b12059 fix seeking over http for files larger 2 GB
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15813 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 11:01:00 +00:00
nicodvb
83b3c822be ported all network streams to the new API
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15586 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-29 12:54:00 +00:00
rtognimp
e089ee403e Do not force real demuxer on x-pn-realaudio mimetype
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
2005-04-17 20:33:25 +00:00
nicodvb
32dc0fe1b0 added support for raw udp:// streaming
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14721 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-17 20:55:57 +00:00
faust3
b08e2e7c08 bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14643 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-04 18:31:04 +00:00
rtognimp
c11245e807 Try http if pnm connection fails
Fixes pnm://www.darrelbowen.com/videos/commercials256.rm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14266 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 19:59:56 +00:00
rtognimp
8500fffcb6 Try port 7070 if 554 fails for realrtsp streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14018 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-22 19:45:55 +00:00
nicodvb
26664ab533 forced autodetection of file format when content-type is video-x-mpeg to give mpeg-ts a chance
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14003 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-21 12:16:14 +00:00
rtognimp
ce1d9c664c Fix segfault caused by changing a pointer that will be freed later
Patch by Martin Simmons ( vyslnqaaxytp at spammotel dot com )


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12895 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-25 00:37:07 +00:00
rtognimp
18557ad90b Make rtp:// cohexist with LIVE.COM
Patch by Nico Sabbi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12800 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-11 22:47:49 +00:00
alex
64963c3541 avoid double slashes, patch by Yoshinori Sato
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12680 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 10:40:15 +00:00
alex
b770e503d1 RFC compliance patch by Eric Lammerts <eric@lammerts.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12639 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 15:14:27 +00:00
faust3
6bfc62a9b9 calling bind with multicast addresses doesn't work on windows, patch by Martin Decky <deckm1am at ss1000.ms.mff.cuni.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12611 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-18 14:31:10 +00:00
rtognimp
571c94b3a7 Add detection of nsa streamed by aol ultravox server
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12478 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-14 23:10:43 +00:00
rtognimp
8ef87c44bb Try to get an asf file with normal http protocol if http streaming
fail. Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12391 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 23:35:25 +00:00
bertrand
872b23f46d Should be Connection: close, and not closed.
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
2004-04-29 21:34:50 +00:00
rtognimp
482df52206 Suggest -playlist if asf_stream_start fails
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12275 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-25 12:46:37 +00:00
rtognimp
94e2c8385b Handle url redirection
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12269 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-24 13:16:16 +00:00
rtognimp
6b3b406407 10l: don't run strcmp if arg is NULL
Pathc by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12237 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-19 19:55:37 +00:00
rtognimp
e3daf3ca75 Respect -playlist for asx streams
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12224 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-17 16:46:41 +00:00
rtognimp
d7f873f469 Try Real rtsp, then live.com on every rtsp stream (remove extension
based selection)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12207 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-14 20:45:26 +00:00
rtognimp
087c4e5801 nsv (Nullsoft streaming video) demuxer
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
2004-04-12 14:19:12 +00:00
rtognimp
2aa6acd974 Seek in HTTP streams and stdin seek fixes
Patch by eviv bulgroz <ebulgroz(at)yahoo(dot)com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12019 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-13 16:10:02 +00:00
attila
b603289132 enable seeking in http streams
patch by Valentine Zaretsky <valik+mplayerdev@email.dp.ua>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11966 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-17 12:30:45 +00:00
alex
28a127d80b Send HTTP Cookies (reading from mozilla/netscape files) support by Dave 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
2003-12-08 13:25:35 +00:00
rtognimp
8e0dd8484f Add detection of Real rtsp when there are queries in url.
Patch by rgselk <rgselknospam(at)yahoo(dot)com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11506 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-23 13:31:44 +00:00
alex
2d0a6214d3 User settable http user-agent. Patch by Per Wigren
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11229 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:54:32 +00:00
alex
400850c793 disable a silly errormessage
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11228 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:36:47 +00:00
albeu
755e127c26 ftp support. The change on connect2Server is needed bcs we need 2
different level of verbosity for control and data connections.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 19:13:23 +00:00
bertrand
2b73c29ab6 Patch from Andreas Hess <jaska@gmx.net>:
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
2003-06-21 16:47:31 +00:00
diego
6ac4f22567 Networking support under MinGW.
Patch by flo/yepyep <flodt8@yahoo.de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-11 16:48:09 +00:00
alex
85cbbc3530 Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8@yahoo.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10207 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-29 19:36:58 +00:00
rtognimp
7f47ef5532 Fix redirection in real rtsp connections.
Patch by yepyep (sdpplin.c part not committed)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10200 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-28 21:40:53 +00:00
rtognimp
ceda9eac3d Recognize ra and rm extensions even with query strings,
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
2003-05-23 19:41:37 +00:00
rsf
72a3c35bb5 We now check for "sip:" URLs - which are handled using the same LIVE.COM
code as "rtsp://" URLs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10056 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-03 06:14:04 +00:00