summaryrefslogtreecommitdiff
path: root/src/input/mmsh.c
AgeCommit message (Collapse)Author
2013-09-13Copyright year update by hg log infoTorsten Jager
script execution time: 55"
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-10-10Merge from 1.1.Darren Salt
2009-08-26Add a user agent & protocol hack to allow viewing of Apple film trailers.Darren Salt
2008-05-23Merge from 1.1. VDR needs to be updated.Diego 'Flameeyes' Pettenò
--HG-- rename : src/liba52/parse.c => contrib/a52dec/parse.c rename : include/xine.h.in => include/xine.h rename : src/xine-engine/alphablend.h => include/xine/alphablend.h rename : src/xine-utils/attributes.h => include/xine/attributes.h rename : src/xine-engine/buffer.h => include/xine/buffer.h rename : src/input/input_plugin.h => include/xine/input_plugin.h rename : src/xine-utils/xineutils.h => include/xine/xineutils.h rename : src/libxineadec/fooaudio.c => src/audio_dec/fooaudio.c rename : src/libxineadec/gsm610.c => src/audio_dec/gsm610.c rename : src/liba52/xine_a52_decoder.c => src/audio_dec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/audio_dec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/audio_dec/xine_faad_decoder.c rename : src/libxineadec/xine_lpcm_decoder.c => src/audio_dec/xine_lpcm_decoder.c rename : src/libmad/xine_mad_decoder.c => src/audio_dec/xine_mad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/audio_dec/xine_musepack_decoder.c rename : src/combined/decoder_flac.c => src/combined/flac_decoder.c rename : src/combined/demux_flac.c => src/combined/flac_demuxer.c rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/libspucc/cc_decoder.c => src/spu_dec/cc_decoder.c rename : src/libspucmml/xine_cmml_decoder.c => src/spu_dec/cmml_decoder.c rename : src/libspudec/xine_spu_decoder.c => src/spu_dec/spu_decoder.c rename : src/libspudec/spu.c => src/spu_dec/spudec.c rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c rename : src/libsputext/xine_sputext_decoder.c => src/spu_dec/sputext_decoder.c rename : src/libsputext/demux_sputext.c => src/spu_dec/sputext_demuxer.c rename : src/libspucc/xine_cc_decoder.c => src/spu_dec/xine_cc_decoder.c rename : src/libxinevdec/bitplane.c => src/video_dec/bitplane.c rename : src/libxinevdec/foovideo.c => src/video_dec/foovideo.c rename : src/libxinevdec/gdkpixbuf.c => src/video_dec/gdkpixbuf.c rename : src/libxinevdec/image.c => src/video_dec/image.c rename : src/libmpeg2/xine_mpeg2_decoder.c => src/video_dec/libmpeg2/xine_mpeg2_decoder.c rename : src/libxinevdec/rgb.c => src/video_dec/rgb.c rename : src/libxinevdec/yuv.c => src/video_dec/yuv.c
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
2007-12-22Merge -headers-reshuffle branch into main.Diego 'Flameeyes' Pettenò
--HG-- rename : src/xine-engine/osd.h => include/xine/osd.h
2007-12-19Transform mmst_proto_s and mmsh_proto_s into arrays of arrays, padded at 8 ↵Diego 'Flameeyes' Pettenò
bytes. The size occupied will be smaller in 64-bit systems, and almost the same in 32-bit systems, but the access should be faster.
2007-12-19Update all the code to the new headers layout.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-01-11Reconnect to the server just after the first request.Claudio Ciccani
CVS patchset: 8497 CVS date: 2007/01/11 16:20:55
2007-01-09Support setting the start time over MMSH protocol.Claudio Ciccani
CVS patchset: 8494 CVS date: 2007/01/09 20:50:59
2006-11-11When reading, read goes to asf_header_buffer, not asf_header (that luckily ↵Diego 'Flameeyes' Pettenò
enough was still NULL so that we didn't end up overwriting the wrong memory location (thus causing more issues). This should fix bug #1582987. CVS patchset: 8370 CVS date: 2006/11/11 00:05:22
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-02-14Replace some variables with #defines to allow printf() argument checking.Darren Salt
Fix a compiler warning wrt static. CVS patchset: 7898 CVS date: 2006/02/14 19:05:29
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
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-13- handle "RESET" chunkThibaut Mattern
- fix problems with the cache plugin Now this radio is supported: mmsh://emap1.planetwideradio.com/kiss100 CVS patchset: 7248 CVS date: 2004/12/13 21:06:54
2004-04-07fix compiler warningsMichael Roitzsch
CVS patchset: 6345 CVS date: 2004/04/07 19:44:29
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-01-23Security patch for input_http and using http status string in mmsh.c ↵František Dvořák
(cut&paste). CVS patchset: 6060 CVS date: 2004/01/23 00:01:08
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-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-12-04Oups.Thibaut Mattern
CVS patchset: 5838 CVS date: 2003/12/04 22:07:05
2003-12-04Cleanup:Thibaut Mattern
- use url_helper - use an other http agent (this one seems more reliable) - some printf -> xprintf conversions - remove some LE_* clones - some sprintf -> snprintf conversions - always use _x_io* functions CVS patchset: 5836 CVS date: 2003/12/04 21:37:40
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-31- Use io_helper functions.Thibaut Mattern
- Fix buggy stream chooser. This stream plays correctly now: mmsh://205.188.214.185:80/wmg/us/wbr/flaminglips/flaminglips_do-you-realize_extended_450.wmv CVS patchset: 5648 CVS date: 2003/10/31 01:55:03
2003-10-26fix some prominent compiler warningsMichael Roitzsch
CVS patchset: 5600 CVS date: 2003/10/26 10:48:24
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-26some doc and todo listThibaut Mattern
CVS patchset: 4681 CVS date: 2003/04/26 13:26:28
2003-04-25http response parsing fixesThibaut Mattern
These mrls work now : mmsh://sr-wm.qbrick.com/02038_p1-wm-High mmsh://sr-wm.qbrick.com/02038_p2-musik-wm-High CVS patchset: 4677 CVS date: 2003/04/25 20:37:21
2003-04-13- use xine_read_abort for http, net, mms, mmsh (more to come)Miguel Freitas
- fix seeking for input_net CVS patchset: 4601 CVS date: 2003/04/13 16:34:51
2003-02-28Xine assert() replacement:Stephen Torri
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its adding the ability to print out a stack trace at the point where the assertion fails. So here are a few examples. assert (0); This use of assert was found in a couple locations most favorably being the default case of a switch statement. This was the only thing there. So if the switch statement was unable to find a match it would have defaulted to this and the user and the developers would be stuck wonder who died and where. So it has been replaced with XINE_ASSERT(0, "We have reach this point and don't have a default case"); It may seem a bit none descriptive but there is more going on behind the scene. In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT prints out: <filename>:<function name>:<line number> - assertion '<assertion expression>' failed. <description> An example of this might be: input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h CVS patchset: 4301 CVS date: 2003/02/28 02:51:47
2003-02-16- log fixesThibaut Mattern
- stronger protection CVS patchset: 4172 CVS date: 2003/02/16 15:59:16
2003-02-05try to have the same behaviour reading from network on http/mms/pnm/rtsp.Miguel Freitas
select() is useful to avoid burning cpu cicles, otoh, we should not call it after end of stream since it will hang xine for 30sec. idea: do select() only on EAGAIN. todo: unify these functions (?) CVS patchset: 4105 CVS date: 2003/02/05 00:08:55
2003-01-31- MAX_PREVIEW_SIZE = 4096Miguel Freitas
- new fb driver with zero copy CVS patchset: 4058 CVS date: 2003/01/31 14:06:03
2003-01-25Avoid to send garbage to decoders.Thibaut Mattern
CVS patchset: 4007 CVS date: 2003/01/25 15:00:07
2003-01-16Recognizes the end of a stream.Thibaut Mattern
CVS patchset: 3934 CVS date: 2003/01/16 00:40:48
2003-01-15- buffer overflow protection.Thibaut Mattern
- cleanup CVS patchset: 3929 CVS date: 2003/01/15 20:08:24
2003-01-15Backport mrl parsing fix.Thibaut Mattern
CVS patchset: 3924 CVS date: 2003/01/15 01:05:24