ffmpeg/libavformat
Martin Storsjö 8c579c1c60 rtsp: Require the transport reply from the server to match the request
This fixes a crash if we requested TCP interleaved transport, but the
server replies with transport data for UDP. According to the RFC, the
server isn't allowed to respond with another transport type than the
one requested.

Originally committed as revision 26077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-23 15:05:24 +00:00
..
4xm.c
Makefile Makefile: Fix dependencies of components 2010-12-22 20:00:42 +00:00
a64.c Cosmetics, lots of. 2010-10-05 12:14:30 +00:00
aacdec.c Move handling of ID3v2 to common utils.c code, reducing code duplication 2010-10-06 20:21:07 +00:00
ac3dec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
adts.h
adtsenc.c Cosmetics: whitespace 2010-07-07 20:03:15 +00:00
aea.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
aiff.h
aiffdec.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
aiffenc.c
allformats.c Mobotix .mxg demuxer 2010-11-26 10:11:16 +00:00
amr.c Set frame_size in the amr demuxer 2010-09-03 14:59:18 +00:00
anm.c Fix doxy that refers to the wrong variable. 2010-07-27 15:54:26 +00:00
apc.c
ape.c
apetag.c
apetag.h
applehttp.c applehttp: Add comments to make_absolute_url 2010-10-02 21:59:16 +00:00
asf.c asf: Add asf_jfif_media guid 2010-07-20 11:50:22 +00:00
asf.h asf: Add asf_jfif_media guid 2010-07-20 11:50:22 +00:00
asfcrypt.c asfcrypt: fix unaligned accesses with armcc 2010-08-24 13:42:28 +00:00
asfcrypt.h
asfdec.c Change ASF demuxer to return incomplete last packets. 2010-12-18 13:18:52 +00:00
asfenc.c add ff_ prefix to metadata_conv() 2010-10-16 13:20:41 +00:00
assdec.c use designated initializer in ASS (de)muxer 2010-12-04 00:37:53 +00:00
assenc.c set default subtitle_codec for ass muxer 2010-12-04 00:47:12 +00:00
au.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h rtpdec: Add a dynamic payload handler for the x-Purevoice format, RFC 2658 2010-12-05 19:37:45 +00:00
avi.c
avi.h
avidec.c avidec: read some of the Nikon specific tags produced by Nikon cameras 2010-11-24 20:53:27 +00:00
avienc.c add ff_ prefix to metadata_conv() 2010-10-16 13:20:41 +00:00
avio.c Remove unused variable. 2010-10-06 11:40:09 +00:00
avio.h Document url_write(). 2010-10-31 16:11:56 +00:00
aviobuf.c add FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf() 2010-08-19 21:28:43 +00:00
avisynth.c
avlanguage.c
avlanguage.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
avs.c
bethsoftvid.c
bfi.c
bink.c
c93.c
caf.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
caf.h Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
cafdec.c cafdec: Handle ALAC extradata. 2010-10-10 00:50:37 +00:00
cavsvideodec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
cdg.c
concat.c
crcenc.c
cutils.c ffmpeg: add a grow_array() helper function 2010-10-01 21:29:37 +00:00
daud.c
diracdec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
dnxhddec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
dsicin.c
dtsdec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
dv.c DV: use data_offset to fix seeking in badly cut files where the first 2010-11-27 14:40:12 +00:00
dv.h
dvenc.c
dxa.c
eacdata.c
electronicarts.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
ffm.h
ffmdec.c Move ffm_close function up to avoid a forward declaration. 2010-07-25 07:54:33 +00:00
ffmenc.c
file.c Add #ifdefs around code specific to file and pipe protocols 2010-07-06 14:28:32 +00:00
filmstripdec.c
filmstripenc.c
flacdec.c Export metadata in the generic format. Deprecate old conversion API. 2010-10-15 19:04:25 +00:00
flacenc.c vorbiscomment: convert metadata before computing the header's length 2010-10-27 05:02:29 +00:00
flacenc.h
flacenc_header.c
flic.c Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum 2010-11-12 11:04:40 +00:00
flv.h Fix 16kHz Mono NellyMoser in flv. 2010-11-03 20:12:07 +00:00
flvdec.c Fix 16kHz Mono NellyMoser in flv. 2010-11-03 20:12:07 +00:00
flvenc.c Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the 2010-09-25 23:27:16 +00:00
framecrcenc.c
gif.c
gopher.c Make ff_url_split() public 2010-06-27 14:16:46 +00:00
gxf.c Check url_fseek results in gxf demuxer. 2010-07-10 23:42:08 +00:00
gxf.h
gxfenc.c In gxf muxer, round up number of lines mod 16 in mpeg umf data, based patch by Reuben Martin, reuben dot m at gmail dot com 2010-10-07 19:41:04 +00:00
h261dec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
h263dec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
h264dec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
http.c http: Handle 301/307 redirect requests, too 2010-11-02 20:37:01 +00:00
http.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
httpauth.c Make parse_key_value from httpauth a common lavf internal function 2010-08-19 14:49:53 +00:00
httpauth.h
id3v1.c Partially revert "Simplify code by using av_metadata_set2()." 2010-11-29 16:38:12 +00:00
id3v1.h
id3v2.c id3v2: skip data length indicator 2010-12-10 15:48:56 +00:00
id3v2.h id3v2: use a named constant instead of 0x02 2010-12-07 07:52:50 +00:00
idcin.c
idroqdec.c rename idroq.c to idroqdec.c 2010-08-29 16:37:33 +00:00
idroqenc.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
iff.c remove redundant text and whitespaces from iff demuxer av_log() statements 2010-07-15 11:43:09 +00:00
img2.c cosmetics: align fields, and remove useless ones, in img2.c 2010-10-21 22:07:00 +00:00
ingenientdec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
internal.h add FF_API_URL_SPLIT define to disable the deprecated ff_url_split() function 2010-10-15 12:54:12 +00:00
ipmovie.c Fix indentation. 2010-11-21 11:07:04 +00:00
isom.c In ts demuxer, support aac flexmux using extradata in iods, issue #2346 2010-11-23 00:51:12 +00:00
isom.h In ts demuxer, support aac flexmux using extradata in iods, issue #2346 2010-11-23 00:51:12 +00:00
iss.c
iv8.c
ivfdec.c On2 IVF demuxer 2010-05-27 21:23:04 +00:00
libavformat.v
libnut.c
librtmp.c Use new librtmp APIs instead of grubbing around in RTMP struct 2010-07-01 10:59:44 +00:00
lmlm4.c
lxfdec.c Add demuxer for LXF (Leitch/Harris' VR native stream format) 2010-10-01 11:08:24 +00:00
m4vdec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
matroska.c matroskaenc: add support for muxing SRT tracks 2010-07-25 21:16:58 +00:00
matroska.h Fix the MATROSKA_ID_TAGDEFAULT to match the specification (instead of 2010-06-08 19:28:22 +00:00
matroskadec.c matroskadec: skip invalid tags with no TagName 2010-11-03 06:29:04 +00:00
matroskaenc.c matroskaenc: don't duplicate title information 2010-11-23 08:24:41 +00:00
md5enc.c Add -f framemd5 muxer similar to framecrc. 2010-05-24 17:49:26 +00:00
md5proto.c Add MD5 protocol 2010-07-18 20:19:08 +00:00
metadata.c metadata: make av_metadata_set2 case insensitive by default 2010-10-18 12:45:15 +00:00
metadata.h add ff_ prefix to metadata_conv() 2010-10-16 13:20:41 +00:00
metadata_compat.c rename LAVF_API_* defines to FF_API_* to clarify that it is not public API 2010-08-18 20:34:31 +00:00
mm.c
mmf.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
mms.c mms: remove dependency on MAX_STREAM API 2010-10-04 19:45:12 +00:00
mms.h Increase buffer size because the header itself can be larger than 8192 2010-12-17 21:17:40 +00:00
mmsh.c Check return value of get_chunk_header(). Since enum can be unsigned, the 2010-09-29 15:43:36 +00:00
mmst.c Set proper error if server flags indicate that it doesn't support mmst. This 2010-10-05 14:04:46 +00:00
mov.c In mov demuxer, read alac sample from extradata, fix #2406 2010-12-07 01:38:26 +00:00
movenc.c Unset variable fps for mov and mp4 muxer, they support it 2010-11-23 00:41:28 +00:00
movenc.h
movenchint.c
mp3.c Remove hack in MP3 probe that was meant as a work-around for large 2010-12-11 21:34:50 +00:00
mpc.c mpc: read id3v1 tags. 2010-12-02 09:56:15 +00:00
mpc8.c
mpeg.c Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
mpeg.h
mpegenc.c Avoid negative SCR in mpeg ps muxer. 2010-10-16 21:31:31 +00:00
mpegts.c In ts demuxer, if pes packet size is < ts packet, honor pes packet and skip padded data. 2010-11-29 03:43:56 +00:00
mpegts.h
mpegtsenc.c mpegtsenc: Improve PCR generation and output 2010-12-03 13:26:42 +00:00
mpegvideodec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
mpjpeg.c
msnwc_tcp.c
mtv.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
mvi.c
mxf.c mxfdec: Improve parsing of the PixelLayout item 2010-06-30 07:55:05 +00:00
mxf.h mxfdec: Improve parsing of the PixelLayout item 2010-06-30 07:55:05 +00:00
mxfdec.c Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99 2010-07-21 17:27:28 +00:00
mxfenc.c Add extern to mxf_d10_muxer forward declaration to avoid a redundant 2010-07-28 05:48:48 +00:00
mxg.c Mobotix .mxg demuxer 2010-11-26 10:11:16 +00:00
ncdec.c
network.h Convert ff_is_multicast_address to take a struct sockaddr parameter 2010-10-07 07:58:56 +00:00
nsvdec.c
nullenc.c move null muxer to its own file 2010-08-29 22:15:50 +00:00
nut.c Add support to B4BY and R4BY NUT codec tags added in NUT r672. 2010-06-06 18:29:42 +00:00
nut.h Define ff_nut_video_tags and make Nut muxer and demuxer set it in 2010-05-23 18:34:15 +00:00
nutdec.c nutdec: when parsing info packet, set metadata var only once 2010-10-24 07:28:04 +00:00
nutenc.c Export metadata in the generic format. Deprecate old conversion API. 2010-10-15 19:04:25 +00:00
nuv.c
oggdec.c Ensure that data_offset is set correctly when there are partial 2010-11-29 19:02:28 +00:00
oggdec.h
oggenc.c vorbiscomment: convert metadata before computing the header's length 2010-10-27 05:02:29 +00:00
oggparsedirac.c
oggparseflac.c
oggparseogm.c
oggparseskeleton.c
oggparsespeex.c
oggparsetheora.c
oggparsevorbis.c add ff_ prefix to metadata_conv() 2010-10-16 13:20:41 +00:00
oma.c Export metadata in the generic format. Deprecate old conversion API. 2010-10-15 19:04:25 +00:00
options.c add FF_API_ALLOC_FORMAT_CONTEXT define to disable the deprecated 2010-10-15 12:59:45 +00:00
os_support.c os_support: include some headers only when needed 2010-07-06 11:42:52 +00:00
os_support.h Move INET6_ADDRSTRLEN to network.h, similar to other network-related fixups 2010-09-03 20:06:01 +00:00
output-example.c Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum 2010-11-12 11:04:40 +00:00
pcm.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
pcm.h move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
pcmdec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
pcmenc.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
psxstr.c
pva.c
qcp.c
qtpalette.h
r3d.c
rawdec.c Add a muxer and demuxer for raw G.722 2010-09-09 19:27:41 +00:00
rawdec.h split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
rawenc.c Add a muxer and demuxer for raw G.722 2010-09-09 19:27:41 +00:00
rawenc.h split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
rawvideodec.c split raw.c into rawdec.c and rawenc.c 2010-08-30 23:16:35 +00:00
rdt.c rtsp/rtpdec: Allow rtp_parse_packet to take ownership of the packet buffer 2010-10-01 17:43:27 +00:00
rdt.h rtsp/rtpdec: Allow rtp_parse_packet to take ownership of the packet buffer 2010-10-01 17:43:27 +00:00
riff.c Add FourCC yuvs for rawvideo (PIX_FMT_YUYV422). 2010-11-29 23:15:51 +00:00
riff.h Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
rl2.c Fix doxygen comment. 2010-08-02 07:28:35 +00:00
rm.c Move rm_codec_tags to rm.c so muxer/demuxer can share it. 2010-05-28 18:18:33 +00:00
rm.h Move rm_codec_tags to rm.c so muxer/demuxer can share it. 2010-05-28 18:18:33 +00:00
rmdec.c Do not read the RM index when input is streamed (since it requires seeking 2010-06-06 18:48:49 +00:00
rmenc.c Reindent after r23361. 2010-05-28 18:21:57 +00:00
rpl.c
rso.c Lego Mindstorms RSO muxer and demuxer. 2010-07-20 14:13:24 +00:00
rso.h Lego Mindstorms RSO muxer and demuxer. 2010-07-20 14:13:24 +00:00
rsodec.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
rsoenc.c Lego Mindstorms RSO muxer and demuxer. 2010-07-20 14:13:24 +00:00
rtmp.h
rtmppkt.c
rtmppkt.h Fix misspelled parameter names in Doxygen documentation. 2010-07-02 10:49:29 +00:00
rtmpproto.c properly check for FF_API_URL_CLASS instead of LIBAVFORMAT_VERSION_MAJOR 2010-10-15 13:09:35 +00:00
rtp.c Handle G.722 in RTP, and all the exceptions mandated in RFC 3551 2010-09-15 17:35:39 +00:00
rtp.h rtp: Replace hardcoded RTCP packet types with defines 2010-08-25 09:15:31 +00:00
rtpdec.c rtsp: Don't set the RTP time base from the sample rate if no sample rate is set 2010-12-15 21:06:25 +00:00
rtpdec.h rtpdec: Add functions for finding depacketizers by name or payload id 2010-12-05 19:39:50 +00:00
rtpdec_amr.c Remove mostly unnecessary rtpdec_*.h files, store the declarations in one file 2010-07-30 12:04:27 +00:00
rtpdec_asf.c Prevent overflow on random input. 2010-08-13 20:06:18 +00:00
rtpdec_formats.h rtpdec: Add a dynamic payload handler for the x-Purevoice format, RFC 2658 2010-12-05 19:37:45 +00:00
rtpdec_h263.c Remove mostly unnecessary rtpdec_*.h files, store the declarations in one file 2010-07-30 12:04:27 +00:00
rtpdec_h264.c rtpdec_h264: Pass NAL type 0 through 2010-12-06 12:44:09 +00:00
rtpdec_latm.c Add RTP depacketization of MP4A-LATM 2010-08-12 21:07:17 +00:00
rtpdec_mpeg4.c Make hex_to_data a lavf internal function 2010-08-09 10:05:33 +00:00
rtpdec_qcelp.c rtpdec_qcelp: Use the depacketizer for static payload types, too 2010-12-05 19:42:14 +00:00
rtpdec_qdm2.c rtpdec: Remove useless NULL initializations when using designated initializers 2010-11-29 16:04:45 +00:00
rtpdec_qt.c rtpdec: Remove useless NULL initializations when using designated initializers 2010-11-29 16:04:45 +00:00
rtpdec_svq3.c rtpdec: Remove useless NULL initializations when using designated initializers 2010-11-29 16:04:45 +00:00
rtpdec_vp8.c RTP/VP8: Update the warning about the VP8 payload 2010-12-05 11:45:57 +00:00
rtpdec_xiph.c rtpdec_xiph: Split packets in the depacketizer 2010-08-05 04:42:36 +00:00
rtpenc.c RTP/VP8: Update the warning about the VP8 payload 2010-12-05 11:45:57 +00:00
rtpenc.h Add RTP packetization of VP8 2010-08-16 14:21:17 +00:00
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c rtsp: Factorize out code for opening a chained RTP muxer 2010-10-08 08:54:53 +00:00
rtpenc_chain.h rtsp: Factorize out code for opening a chained RTP muxer 2010-10-08 08:54:53 +00:00
rtpenc_h263.c
rtpenc_h264.c
rtpenc_mpv.c
rtpenc_vp8.c Add RTP packetization of VP8 2010-08-16 14:21:17 +00:00
rtpenc_xiph.c rtpenc_xiph: Clarify that num_frames shouldn't ever get larger than max_frames_per_packet 2010-08-10 08:37:19 +00:00
rtpproto.c drop rtp_get_file_handles() which is not part of public API and not used anymore 2010-10-23 16:21:49 +00:00
rtsp.c rtsp: Require the transport reply from the server to match the request 2010-12-23 15:05:24 +00:00
rtsp.h rtsp: Parse and use the Content-Base reply header, if present 2010-11-15 15:08:53 +00:00
rtspcodes.h
rtspdec.c rtsp: Parse and use the Content-Base reply header, if present 2010-11-15 15:08:53 +00:00
rtspenc.c rtsp: Move rtsp_setup_output_streams into rtspenc.c 2010-10-29 08:41:49 +00:00
sapdec.c sapdec: Include sys/time.h for struct timeval 2010-10-13 11:09:06 +00:00
sapenc.c sapenc: Use the normal URL port as RTP port 2010-10-09 14:39:31 +00:00
sauce.c Add doxygen @file comment block 2010-07-19 11:50:07 +00:00
sauce.h Add doxygen @file comment block 2010-07-19 11:50:07 +00:00
sdp.c sdp: Add a framesize attribute to H.263 SDP descriptions 2010-12-20 20:46:40 +00:00
seek.c
seek.h
segafilm.c
sierravmd.c
siff.c
smacker.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
sol.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
sox.h
soxdec.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
soxenc.c
spdif.c Move code to be used by the IEC 61937 demuxer from spifenc.c into common 2010-11-10 00:04:12 +00:00
spdif.h Move code to be used by the IEC 61937 demuxer from spifenc.c into common 2010-11-10 00:04:12 +00:00
spdifdec.c S/PDIF demuxer 2010-11-22 22:09:26 +00:00
spdifenc.c Add copyright notices for the E-AC3 and TrueHD parts of the muxer. 2010-11-27 18:10:20 +00:00
srtdec.c add SubRip muxer and demuxer 2010-07-24 22:50:12 +00:00
swf.h
swfdec.c
swfenc.c
tcp.c tcp: Check url_interrupt_cb if connect was interrupted by a signal 2010-12-14 23:03:05 +00:00
thp.c
tiertexseq.c
timefilter.c
timefilter.h
tmv.c
tta.c Move handling of ID3v2 to common utils.c code, reducing code duplication 2010-10-06 20:21:07 +00:00
tty.c Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the 2010-09-25 23:27:16 +00:00
txd.c
udp.c add FF_API_UDP_GET_FILE define to disable the deprecated udp_get_file_handle() 2010-10-15 12:49:48 +00:00
utils.c Fix crash if invalid bit-rate was read from file. 2010-12-20 09:58:27 +00:00
vc1test.c
vc1testenc.c
voc.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
voc.h
vocdec.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
vocenc.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
vorbiscomment.c vorbiscomment: convert metadata before computing the header's length 2010-10-27 05:02:29 +00:00
vorbiscomment.h vorbiscomment: change ff_vorbiscomment_write to take an AVMetadata** 2010-10-14 19:08:31 +00:00
vqf.c
wav.c move pcm demuxers to their own file 2010-08-30 21:17:34 +00:00
wc3movie.c WC3/xan: move palette handling to decoder, avoiding need for 2010-11-21 10:32:23 +00:00
westwood.c
wv.c Don't try to demux WavPack files with >2 channels until we can support them 2010-12-07 18:15:06 +00:00
xa.c
yop.c
yuv4mpeg.c