summaryrefslogtreecommitdiffstats
path: root/stream/realrtsp/real.c
Commit message (Collapse)AuthorAgeFilesLines
* stream: remove native RTSP/RTP/PNM supportwm42012-08-011-653/+0
| | | | | | There are still various other RTSP implementations available, such as libnemesi, live555, and libav. The mplayer native version was a huge chunk of old unmaintained code.
* build: switch to libavutil bswap.h and intreadwrite.hUoti Urpala2012-02-011-7/+7
| | | | | | | | | | | | Remove the private bswap and intreadwrite.h implementations and use libavutil headers instead. Originally these headers weren't publicly installed by libavutil at all. That already changed in 2010, but the pure C bswap version in installed headers was very inefficient. That was recently (2011-12) improved and now using the public bswap version probably shouldn't cause noticeable performance problems, at least if using a new enough compiler.
* configure, build: require at least Libav 0.7Uoti Urpala2011-12-221-3/+0
| | | | | | | | | | | | | | | | Require versions of the Libav libraries corresponding to Libav release 0.7. These are: libavutil 51.7.0 libavcodec 53.5.0 libavformat 53.2.0 libswscale 2.0.0 libpostproc 52.0.0 Also disable the fallback to simple header check if these libraries could not be found with pkg-config; now compiling without pkg-config support for these always requires explicitly setting --enable-libav and any needed compiler/linker flags. The simple check would have let compilation proceed even if a version mismatch was detected.
* cleanup: silence most of the clang warningsClément Bœsch2011-07-091-3/+4
|
* cleanup: shut up more warningsClément Bœsch2011-05-061-1/+2
|
* fix compilation with old FFmpeg versionsUoti Urpala2011-02-081-0/+6
| | | | | | | | | | | | af_lavcac3enc: use old SampleFormat names without AV_ prefix, the latter were only added in 2010-11 vd_ffmpeg: add ifdef around CODEC_ID_LAGARITH use demux_real: use ffmpeg_files/intreadwrite.h stream/http.c, stream/realrtsp/real.c: define AV_BASE64_SIZE macro for old libavutil versions lacking it
* stream/: delete base64_encode(), use libavutil av_base64_encode()cboesch2010-12-161-9/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32672 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup: remove NULL checks before free() all over the codecboesch2010-11-141-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r29644Uoti Urpala2009-09-041-14/+18
|\
| * Fix possible crashes with invalid SDPs that result in stream descriptionsreimar2009-09-021-0/+2
| | | | | | | | | | | | | | not being initialized. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29626 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix several more rtsp-related memleaks.reimar2009-09-021-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29625 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make sure we do not strdup(NULL), avoids a crash with non-real streams.reimar2009-09-021-1/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29621 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix several memleaks in real_setup_and_get_headerreimar2009-09-021-1/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29620 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Change real_setup_and_get_header to use goto a single exit path to simplifyreimar2009-09-021-11/+7
| | | | | | | | | | | | | | proper freeing of allocated data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29619 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29455Uoti Urpala2009-07-291-0/+4
|\|
| * stream/realrtsp/real.c: Fix another integer overflowuau2009-07-281-0/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29455 b3059339-0415-0410-9bf9-f77b7e298cf2
| * stream/realrtsp/real.c: Fix integer overflowuau2009-07-271-0/+2
| | | | | | | | | | | | | | Pointed-out-by: tixxDZ <tixxdz at gmail dot com> - DZCORE Labs, Algeria git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29447 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-19/+19
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Replace libavutil internal header #includes with MPlayer copiesUoti Urpala2009-07-261-1/+1
| | | | | | | | | | | | Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/ instead.
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-19/+19
|/
* consistency cosmetics: Avoid using .. in #include paths.diego2008-08-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use consistent #include paths without "../".diego2008-04-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.diego2008-02-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify/cleanup of real_calc_response_and_checksum()rtogni2008-01-131-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25750 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't oversize realchallenge buffersrtogni2008-01-131-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore stream id when checking rdt packet flagsrtogni2007-11-171-1/+1
| | | | | | | Fixes bugzilla #930 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25063 b3059339-0415-0410-9bf9-f77b7e298cf2
* start= and end= parameters on realrtspurls may be optionally quoted with rtogni2007-06-241-0/+5
| | | | | | | | | ", skip the quoting if it's there. Fixes rtsp://rmv8.bbc.net.uk/bbc7/2300_tue.ra?start="30:00" from bugzilla #850 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23661 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup real_calc_response_and_checksum()rtogni2007-04-091-10/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22963 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge calc_response_string() into real_calc_response_and_checksum()rtogni2007-04-091-13/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22962 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify calc_response_string()rtogni2007-04-091-10/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22961 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000000l learn to countrtogni2007-04-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22960 b3059339-0415-0410-9bf9-f77b7e298cf2
* Size of response is known, no need to calculate itrtogni2007-04-091-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22959 b3059339-0415-0410-9bf9-f77b7e298cf2
* The size of xor_table is known and fixed, no need to calculate itrtogni2007-04-091-8/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Length of interleaved RTSP frames (0x24) in only 16 bit, the other byte rtogni2007-04-031-1/+2
| | | | | | | is the channel number (normally 0) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare eof only when stream 0 gets eofrtogni2007-03-201-1/+9
| | | | | | | Fixes premature eof on rtsp://vodreal.stanford.edu/opa/philo/061022.rm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22768 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for realrtsp urls with more than 2 streams:rtogni2007-03-201-3/+5
| | | | | | | | | - do setup for all the streams we subscribed to - Use all bits of stream id, not only the lsbit Fixes rtsp://vodreal.stanford.edu/opa/philo/061022.rm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22767 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libavutil AV_RB/AV_WB macros instead of defining out own variants.reimar2007-03-011-21/+11
| | | | | | | Probably fixes http://bugzilla.mplayerhq.hu/show_bug.cgi?id=767 as a side-effect git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for smil playlist served over realrtsprtogni2007-02-181-1/+6
| | | | | | | (audio and video playback only, not full smil support) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22260 b3059339-0415-0410-9bf9-f77b7e298cf2
* Accept rdt packets with "is-reliable" flag setrtogni2007-01-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22041 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't drop last rdt packet on eofrtogni2007-01-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21860 b3059339-0415-0410-9bf9-f77b7e298cf2
* Memleak fix (implement sdpplin_free() and use it)rtogni2007-01-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21806 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential buffer overflow in asm rules matching codertogni2006-12-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21799 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around libavutil/bswap.h compilation problems due to always_inline ↵reimar2006-12-071-1/+1
| | | | | | undefined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bswap.h, use libavutil/bswap.h instead.diego2006-11-291-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf -> mp_msgrtogni2006-10-301-7/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Realrtsp authenticationrtogni2006-10-301-1/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20543 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵ben2006-07-311-0/+612
split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2