Age | Commit message (Collapse) | Author |
|
|
|
|
|
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
|
|
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
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
Solaris definitions.
|
|
CVS patchset: 8497
CVS date: 2007/01/11 16:20:55
|
|
CVS patchset: 8494
CVS date: 2007/01/09 20:50:59
|
|
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
|
|
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
|
|
Loosly based on: [vendor-sec] patch for libmms buffer overflows (CVE-2006-2200)
CVS patchset: 8118
CVS date: 2006/07/11 09:37:31
|
|
CVS patchset: 8065
CVS date: 2006/06/20 01:46:41
|
|
Fix a compiler warning wrt static.
CVS patchset: 7898
CVS date: 2006/02/14 19:05:29
|
|
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
|
|
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
|
|
CVS patchset: 7257
CVS date: 2004/12/14 23:13:09
|
|
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
|
|
- 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
|
|
CVS patchset: 6345
CVS date: 2004/04/07 19:44:29
|
|
CVS patchset: 6335
CVS date: 2004/04/06 06:43:05
|
|
- 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
|
|
(cut&paste).
CVS patchset: 6060
CVS date: 2004/01/23 00:01:08
|
|
CVS patchset: 5879
CVS date: 2003/12/09 00:02:28
|
|
CVS patchset: 5847
CVS date: 2003/12/05 22:31:41
|
|
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
|
|
CVS patchset: 5838
CVS date: 2003/12/04 22:07:05
|
|
- 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
|
|
CVS patchset: 5796
CVS date: 2003/11/26 19:43:26
|
|
CVS patchset: 5721
CVS date: 2003/11/11 18:44:50
|
|
- 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
|
|
CVS patchset: 5600
CVS date: 2003/10/26 10:48:24
|
|
(more to come).
CVS patchset: 4947
CVS date: 2003/05/26 17:00:11
|
|
CVS patchset: 4681
CVS date: 2003/04/26 13:26:28
|
|
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
|
|
- fix seeking for input_net
CVS patchset: 4601
CVS date: 2003/04/13 16:34:51
|
|
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
|
|
- stronger protection
CVS patchset: 4172
CVS date: 2003/02/16 15:59:16
|
|
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
|
|
- new fb driver with zero copy
CVS patchset: 4058
CVS date: 2003/01/31 14:06:03
|
|
CVS patchset: 4007
CVS date: 2003/01/25 15:00:07
|
|
CVS patchset: 3934
CVS date: 2003/01/16 00:40:48
|
|
- cleanup
CVS patchset: 3929
CVS date: 2003/01/15 20:08:24
|
|
CVS patchset: 3924
CVS date: 2003/01/15 01:05:24
|
|
CVS patchset: 3923
CVS date: 2003/01/15 00:53:40
|
|
CVS patchset: 3921
CVS date: 2003/01/14 23:40:56
|
|
- Fixes http response parsing
- Fixes first http request
CVS patchset: 3920
CVS date: 2003/01/14 23:39:11
|
|
CVS patchset: 3886
CVS date: 2003/01/13 01:23:13
|
|
Some explanantions about mms protocols in xine :
mms:/, mmst:/, mmsu:/, mmsh:/ mrls are handled by the mms input plugin
mmst:/ and mmsu:/ mrls point out the 'mms over tcp' protocol (mms.c)
mmsh:/ mrls point out the 'mms over http' protocol (mmsh.c)
When a mms:/ url is encountered, mmst is tried first, then mmsh is tried if mmst failed
To try the new mmsh support :
xine mmsh://wmp.tf1.coltfrance.com/wmetf1/cinema/hpotter/harry_potter_secrets_320.wmv
xine mmsh://wmp.tf1.coltfrance.com/wmetf1/clip/johnny/marie_320.wmv
CVS patchset: 3885
CVS date: 2003/01/13 01:11:57
|