summaryrefslogtreecommitdiff
path: root/src/input/librtsp/rtsp.c
AgeCommit message (Collapse)Author
2011-10-10Fixed asprintf usagePetri Hintukainen
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-09-28RTSP debug build fixNicos Gollan
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-09Use size_t rather than int to store the return value of strlen().Diego 'Flameeyes' Pettenò
2008-05-07Don't overuse sscanf().Diego 'Flameeyes' Pettenò
Instead of using sscanf() to get the data out of headers, as we just compared them, skip the name of the header and get the rest. Add the whitespace to the compare so that it actually works as intended. Also save some unneeded dup/free.
2008-05-07Use strn?dup instead of alloc + strn?cpy.Diego 'Flameeyes' Pettenò
Whenever an allocated memory area is immediately filled in with a string through strcpy() or strncpy(), replace the calls with the appropriate strn?dup().
2008-05-07Use asprintf() rather than malloc() + sprintf().Diego 'Flameeyes' Pettenò
Using asprintf() instead of malloc() + sprintf() reduces the lines of code in xine-lib (moving the allocation to the C library or asprintf replacement), makes it safer to access the string and can also improve performance whenever the value returned by a function was used as parameter, as before it had to run the function twice in almost every case (once for strlen(), once for sprintf()).
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.
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: 103 Checker: NULL_RETURNS (help) File: xine-lib/src/input/librtsp/rtsp.c Function: rtsp_search_answers Description: Incrementing possibly NULL value "ptr" CID: 179 Checker: RESOURCE_LEAK (help) File: xine-lib/src/input/librtsp/rtsp.c Function: rtsp_read_data Description: Variable "rest" not freed or pointed-to in function "rtsp_put" CVS patchset: 7939 CVS date: 2006/03/18 09:42:43
2005-04-16address buffer overflow conditionMike Melanson
CVS patchset: 7458 CVS date: 2005/04/16 07:10:51
2004-07-25* increase buffer size, "Cseq: %u" has a worst case of 17Michael Roitzsch
* limit TCP port range CVS patchset: 6849 CVS date: 2004/07/25 17:13:54
2004-05-27accept server responses with different cases (Cseq and CSeq)Miguel Freitas
http://sourceforge.net/tracker/index.php?func=detail&aid=681764&group_id=9655&atid=109655 CVS patchset: 6594 CVS date: 2004/05/27 00:24:52
2004-04-24sanity cecking, safer buffer allocationMiguel Freitas
CVS patchset: 6432 CVS date: 2004/04/24 20:43:57
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-04use _x_io* functionsJames Stembridge
CVS patchset: 5842 CVS date: 2003/12/04 22:38:29
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-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-04-13xine_read_abort for rtspMiguel Freitas
CVS patchset: 4604 CVS date: 2003/04/13 19:02:07
2003-04-10add headers required by select.Miguel Freitas
may fix bug 697763 CVS patchset: 4583 CVS date: 2003/04/10 02:30:48
2003-03-28fixes some rtsp streamsStefan Holst
CVS patchset: 4506 CVS date: 2003/03/28 22:44:18
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-29disable 30s select and try to match end of stream behaviour of http pluginMiguel Freitas
CVS patchset: 4033 CVS date: 2003/01/29 10:49:24
2002-12-22Make xine-lib compile with the SunPro compilerRobin KAY
CVS patchset: 3623 CVS date: 2002/12/22 00:35:04
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