summaryrefslogtreecommitdiff
path: root/src/input/libreal/real.c
AgeCommit message (Collapse)Author
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-01-18Remove '#include "config.h"' from all public header files.Darren Salt
This requires that many other files include config.h themselves. Also convert <config.h> to "config.h".
2008-05-23Remove MIN/MAX macro definitions on unit.Diego 'Flameeyes' Pettenò
Now that the macro are either imported from the system or defined by configure. don't define them in every source file.
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-04-30Replace calloc (n, sizeof (char)) with malloc (n) where zero init isn't needed.Darren Salt
2008-04-19Replace xine_xcalloc usage with calloc, for the revisions transplanted from ↵Diego 'Flameeyes' Pettenò
1.2 series.
2007-12-18Use calloc() when allocating an array of elements.Diego 'Flameeyes' Pettenò
(transplanted from e9e85d6bcc7e9aafb1dc019f3505de2dafe940bf) --HG-- extra : transplant_source : %E9%E8%5Dk%CC%7E%9A%AF%B1%DC%01%9F5%05%DE-%AF%E9%40%BF
2007-04-14Use xine_xcalloc instead of xine_xmalloc when mutiplying the number of ↵Diego 'Flameeyes' Pettenò
elements by the size of the single element. (transplanted from 512894f517c423fed0cadeca0d46c6d909403106) --HG-- extra : transplant_source : Q%28%94%F5%17%C4%23%FE%D0%CA%DE%CA%0DF%C6%D9%09%401%06
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-19Fix possible strict aliasing breakage.Diego 'Flameeyes' Pettenò
CVS patchset: 8526 CVS date: 2007/01/19 01:16:46
2006-12-18Partially implemented RTSP seekability:Claudio Ciccani
support starting the playback at an optional time by delaying the PLAY request upon the first call to rtsp_session_read() and setting the playback start time via input_plugin->seek_time(). CVS patchset: 8422 CVS date: 2006/12/18 21:31:47
2006-11-29Fix buffer overrun reported by Roland Kay with JW's patch. Close bug #1603458.Diego 'Flameeyes' Pettenò
CVS patchset: 8392 CVS date: 2006/11/29 19:43:01
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8064 CVS date: 2006/06/20 01:07:58
2006-03-18[coverity]Thibaut Mattern
CID: 180 Checker: RESOURCE_LEAK (help) File: xine-lib/src/input/libreal/real.c Function: real_parse_sdp Description: Returned without freeing storage "desc" CVS patchset: 7938 CVS date: 2006/03/18 09:35:03
2005-06-25*BUGFIX*Siggi Langauf
fix playback of non-multi Real RTSP streams CVS patchset: 7633 CVS date: 2005/06/25 13:21:30
2004-12-15Multiple security vulnerabilities fixed on PNM and Real RTSP clientsMiguel Freitas
(thanks iDEFENSE for reporting these) CVS patchset: 7258 CVS date: 2004/12/15 12:53:35
2004-09-08chunk size fix from Ross FinlaysonMiguel Freitas
better late than never ;-) CVS patchset: 6949 CVS date: 2004/09/08 15:09:30
2004-04-24sanity cecking, safer buffer allocationMiguel Freitas
CVS patchset: 6432 CVS date: 2004/04/24 20:43:57
2004-04-24more bounds checking fixes (thanks Roberto Togni)Miguel Freitas
CVS patchset: 6431 CVS date: 2004/04/24 16:55:42
2004-04-23some sanity and bounds checking (my own audit)Miguel Freitas
lets hope i didn't broke anything CVS patchset: 6428 CVS date: 2004/04/23 21:59:04
2004-04-22- remove some forgotten debugBastien Nocera
CVS patchset: 6423 CVS date: 2004/04/22 15:23:55
2004-04-22- fix Real pnm/rtsp streaming on big endian platformsBastien Nocera
Patch from David Woodhouse <dwmw2@infradead.org> CVS patchset: 6422 CVS date: 2004/04/22 15:20:53
2004-01-03Second attempt at detecting end of non-live rtsp streamsJames Stembridge
CVS patchset: 5979 CVS date: 2004/01/03 17:19:39
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-04quietJames Stembridge
CVS patchset: 5840 CVS date: 2003/12/04 22:14:53
2003-12-04Attempt to detect end of real rtsp streamsJames Stembridge
Minor hexdump cleanup CVS patchset: 5839 CVS date: 2003/12/04 22:11:25
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-03-30prevent a segfault on unsupported streamsStefan Holst
CVS patchset: 4515 CVS date: 2003/03/30 17:11:50
2003-03-28fixes some rtsp streamsStefan Holst
CVS patchset: 4506 CVS date: 2003/03/28 22:44:18
2002-12-24a cleaner implementation of sdp/sdpplin added, small fixesStefan Holst
CVS patchset: 3663 CVS date: 2002/12/24 01:30:21
2002-12-22fixes handling of some real streams and adds some log outputStefan Holst
CVS patchset: 3632 CVS date: 2002/12/22 16:46:27
2002-12-17fixed cseq calculationStefan Holst
ignore unknown media stream descriptions CVS patchset: 3572 CVS date: 2002/12/17 10:33:35
2002-12-16real streaming fixes:Stefan Holst
- removing exit()s from pnm.c - server error message retrieving fixed in pnm.c - handling of server messages in rtsp CVS patchset: 3564 CVS date: 2002/12/16 21:50:54
2002-12-14- rtsp audio only streams now work betterStefan Holst
- a hack to handle REDIRECT rtsp method - make rtsp fields case insensitive - add '.rm' suffix to mrls to force handling by demux_real. CVS patchset: 3516 CVS date: 2002/12/14 00:02:30
2002-12-12The rest of rtsp input plugin; sorry.Stefan Holst
CVS patchset: 3496 CVS date: 2002/12/12 22:14:53