summaryrefslogtreecommitdiff
path: root/src/input/mms.c
AgeCommit message (Collapse)Author
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-08-26Add a user agent & protocol hack to allow viewing of Apple film trailers.Darren Salt
2009-01-01libmms does not handle percent-encoded uriNiels Vorgaard Christensen
libmms will always fail to request media with URIs containing percent-encoded characters. This is because the path component in the MMS URI should be decoded before it is sent to the server. http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-MMSP%5D.pdf (page 48)
2008-05-09Use size_t to keep the value returned by strlen().Diego 'Flameeyes' Pettenò
When using a variable to store the result of strlen(), make sure its type is size_t just like the function returns, rather than using a smaller type like int. --HG-- extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2008-05-03Define print_command only when actually logging.Diego 'Flameeyes' Pettenò
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-06-16Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with ↵Diego 'Flameeyes' Pettenò
Solaris definitions.
2007-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-01-03Added support for setting the playback start time (same as the RTSP plugin).Claudio Ciccani
Actually this is only implemented for the MMST protocol. CVS patchset: 8484 CVS date: 2007/01/03 15:09:42
2006-09-16Fixed ASF header reading.Thibaut Mattern
CVS patchset: 8263 CVS date: 2006/09/16 08:13:51
2006-09-12Fixed iconv warnings on FreeBSD, fixed build w/o iconv but require it as ↵František Dvořák
default. CVS patchset: 8223 CVS date: 2006/09/12 21:24:18
2006-09-07Added common asf header parser.Thibaut Mattern
Modified the mms input plugins and the asf demuxer to use the new parser. Added Asf Extended Header parsing, fixed best stream selection. CVS patchset: 8203 CVS date: 2006/09/07 07:21:06
2006-07-11Fixing some libmms related overflows.Matthias Hopf
Loosly based on: [vendor-sec] patch for libmms buffer overflows (CVE-2006-2200) CVS patchset: 8118 CVS date: 2006/07/11 09:37:31
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8065 CVS date: 2006/06/20 01:46:41
2006-06-10Don't trust internal gettext macros, they are unreliable and change between ↵Diego 'Flameeyes' Pettenò
versions. Check for nl_langinfo() explicitely and use that instead. CVS patchset: 8023 CVS date: 2006/06/10 00:21:51
2006-04-19Relocate static specifiers to quieten compiler.Darren Salt
CVS patchset: 7972 CVS date: 2006/04/19 17:30:12
2005-04-21**BUGFIX**Michael Roitzsch
MMS buffer overflow fix ported over from MPlayer CVS patchset: 7479 CVS date: 2005/04/21 19:02:43
2005-01-18The first '/' seems to not be required.Thibaut Mattern
This fixes problems with some mms servers. Thanks to Alain Daurat (daurat@users.sourceforge.net) for the investigations. CVS patchset: 7362 CVS date: 2005/01/18 23:25:34
2005-01-13Command length must be a multiple of 8.Thibaut Mattern
Fix playback of: mms://video.pbs.org/general/windows/scientific/pbssaf1403_220k.asf CVS patchset: 7341 CVS date: 2005/01/13 20:59:05
2005-01-12Fix various mmsh/mmst bugs.Thibaut Mattern
Improve chained stream detection (do not trust stream packet count). This fix the bug https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1098044&group_id=9655 mmsh://secure4.jumptv.com/Preview1_hi mmst://secure4.jumptv.com/Preview1_hi CVS patchset: 7339 CVS date: 2005/01/12 00:05:36
2004-12-14the stream_id is only 15 bitsThibaut Mattern
CVS patchset: 7257 CVS date: 2004/12/14 23:13:09
2004-12-14Do not reset the first bytes of the stream.Thibaut Mattern
Fix this issue: https://sourceforge.net/tracker/index.php?func=detail&aid=1077868&group_id=9655&atid=109655 CVS patchset: 7252 CVS date: 2004/12/14 08:18:36
2004-12-13fix mms://emap1.planetwideradio.com/kiss100 as Thibaut suggestedMiguel Freitas
CVS patchset: 7247 CVS date: 2004/12/13 19:12:56
2004-07-25protect some buffers to be on the safe side (some of them might be hardMichael Roitzsch
to overflow, but it could be possible) input_cdda contains the copy&paste bug of filling the buffer to its end and then appending yet another character CVS patchset: 6848 CVS date: 2004/07/25 17:11:59
2004-04-15Big MMS over tcp protocol cleanup / rework.Thibaut Mattern
No new feature, just a cleanup, less headache to maitain. Might fix some issues. This stream works fine: mms://audio1.musicradio.com/Ad/BT.wma CVS patchset: 6408 CVS date: 2004/04/15 22:10:55
2004-04-14fix a segfaultMiguel Freitas
the problematic stream still does not play mms://audio1.musicradio.com/Ad/BT.wma CVS patchset: 6401 CVS date: 2004/04/14 01:42:55
2004-04-06comment #define LOGThibaut Mattern
CVS patchset: 6336 CVS date: 2004/04/06 06:45:47
2004-04-06Use 64 bits to compute current pos.Thibaut Mattern
CVS patchset: 6335 CVS date: 2004/04/06 06:43:05
2004-04-06Asf demuxer:Thibaut Mattern
- fix error correction handling. - detect properly the end of the stream using packet_count (now that mms plugin handles correctly current_pos). - rename some properties mmst/mmsh: - handle current stream pos correctly, based on packet sequence_id (needed for seeking). mmsh: - some reverse ingeneering to support for grouped ASF streams like mmst (mmsh://wms03.nordicwebradio.com/chelsea) - fix a potential crash at the end of stream CVS patchset: 6334 CVS date: 2004/04/06 00:25:29
2004-04-04Fix "1e" command handling.Thibaut Mattern
CVS patchset: 6328 CVS date: 2004/04/04 12:19:06
2004-04-03Fix live detection.Thibaut Mattern
This radio plays now. It used to play well, i don't know when they changed the server. mmst://wms03.nordicwebradio.com/chelsea CVS patchset: 6327 CVS date: 2004/04/03 18:34:53
2004-02-29Various compilation fixes and updates:František Dvořák
- xine compilable without iconv (scream if I something broke) - update MSVC port, fixes in avi demux - add iff.h into makefiles - ffmpeg depends on zlib (build was OK only when freetype was installed) - commit a patch for goom CVS patchset: 6192 CVS date: 2004/02/29 17:26:45
2003-12-11Use SDP naming scheme.Thibaut Mattern
Fix strange len8 computation. CVS patchset: 5890 CVS date: 2003/12/11 01:15:53
2003-12-09update copyright year (and we have to do it again in 3 weeks... ;-) )Daniel Caujolle-Bert
CVS patchset: 5879 CVS date: 2003/12/09 00:02:28
2003-12-05Should the segfault with the "save" input plugin.Thibaut Mattern
CVS patchset: 5847 CVS date: 2003/12/05 22:31:41
2003-12-04Cleanup:Thibaut Mattern
- use url_helper - always use _x_io* functions - log more stuff with xprintf CVS patchset: 5837 CVS date: 2003/12/04 21:48:36
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-16Send all asf headers to the demuxer, now it will handle this.Thibaut Mattern
Fix a bug with multiple asf headers handling. CVS patchset: 5530 CVS date: 2003/10/16 21:47:32
2003-10-12Fallback when iconv_open fails.Robin KAY
CVS patchset: 5489 CVS date: 2003/10/12 14:28:37
2003-10-11- use LE_* macrosThibaut Mattern
- use lprintf - first attempt to support the command 0x20 tested with mms://wms03.nordicwebradio.com/visby CVS patchset: 5483 CVS date: 2003/10/11 20:42:38
2003-10-08encoding of URL with multibyte characters in MMS for using xine in ChinaFrantišek Dvořák
CVS patchset: 5473 CVS date: 2003/10/08 05:33:28
2003-08-25Reduce GCC verbosity (various prototype declaration fixes). ffmpeg, wine and ↵Daniel Caujolle-Bert
fft*post are untouched (fft: for now). CVS patchset: 5310 CVS date: 2003/08/25 21:51:37
2003-07-10- use io_helper functionsThibaut Mattern
- little cleanup CVS patchset: 5140 CVS date: 2003/07/10 22:43:41
2003-05-26Get asf plugin to build in Win32. Also starting to clean up some Win32 code ↵Tim Champagne
(more to come). CVS patchset: 4947 CVS date: 2003/05/26 17:00:11
2003-04-26- a ton of sanity checks.Thibaut Mattern
- little cleanup CVS patchset: 4686 CVS date: 2003/04/26 17:53:16
2003-04-26check mms response code.Thibaut Mattern
CVS patchset: 4685 CVS date: 2003/04/26 16:36:42
2003-04-26some doc and todo listThibaut Mattern
CVS patchset: 4681 CVS date: 2003/04/26 13:26:28