1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libavformat
Yuriy Kaminskiy c77549c510 rtsp: Set the real_setup pointer properly, avoid out of bounds memory accesses
This fixes a regression since svn rev 24752, where the real_setup pointer
was set incorrectly. The arithmetic with the real_setup_cache pointer
is in units of enum AVDiscard, so the sizeof multiplication should be removed.

Patch by Yuriy Kaminskiy, yumkam at mail dot ru.

Originally committed as revision 25684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-06 23:26:49 +00:00
..
4xm.c
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 rtsp: Untangle the dependencies between the RTSP/SDP demuxers and RTSP muxer 2010-10-21 12:18:48 +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 add ff_ prefix to metadata_conv() 2010-10-16 13:20:41 +00:00
asfenc.c add ff_ prefix to metadata_conv() 2010-10-16 13:20:41 +00:00
assdec.c add seeking support in ASS demuxer 2010-07-29 22:10:22 +00:00
assenc.c add mime-type for ASS muxer 2010-07-25 19:36:20 +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 Add a demuxer for receiving raw rtp:// URLs without an SDP description 2010-10-19 07:38:53 +00:00
avi.c
avi.h
avidec.c Export metadata in the generic format. Deprecate old conversion API. 2010-10-15 19:04:25 +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
caf.h
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.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_header.c
flacenc.c vorbiscomment: convert metadata before computing the header's length 2010-10-27 05:02:29 +00:00
flacenc.h
flic.c Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the 2010-09-25 23:27:16 +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
id3v1.h
id3v2.c add ff_ prefix to metadata_conv() 2010-10-16 13:20:41 +00:00
id3v2.h Fix Doxygen function parameter documentation syntax. 2010-07-02 11:41:13 +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
isom.c xdcam hd422 720p24 fourcc in mov 2010-10-04 20:23:36 +00:00
isom.h movdec: Split out ff_mov_read_stsd 2010-10-05 21:35:44 +00:00
iss.c
iv8.c
ivfdec.c
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
Makefile rtsp: Split out the RTSP demuxer functions to a separate, new file 2010-10-29 08:43:57 +00:00
matroska.c matroskaenc: add support for muxing SRT tracks 2010-07-25 21:16:58 +00:00
matroska.h
matroskadec.c matroskadec: skip invalid tags with no TagName 2010-11-03 06:29:04 +00:00
matroskaenc.c Remove usage of deprecated libavcodec/audioconvert.h functions. 2010-11-03 20:19:34 +00:00
md5enc.c
md5proto.c Add MD5 protocol 2010-07-18 20:19:08 +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
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
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 Remove use of MAX_STREAMS in MMSContext->streams[] array. Instead, dynamically 2010-08-13 17:30:01 +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 movdec: Free the previous extradata 2010-10-05 21:36:30 +00:00
movenc.c In mov muxer, write artist metadata tag 2010-10-15 23:23:47 +00:00
movenc.h
movenchint.c
mp3.c add ff_ prefix to metadata_conv() 2010-10-16 13:20:41 +00:00
mpc8.c
mpc.c Move handling of ID3v2 to common utils.c code, reducing code duplication 2010-10-06 20:21:07 +00:00
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 mpegts: support LATM syntax 2010-11-02 08:32:33 +00:00
mpegts.h
mpegtsenc.c mpegtsenc: Indent 2010-09-27 12:27:26 +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
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
nut.h
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 Export metadata in the generic format. Deprecate old conversion API. 2010-10-15 19:04:25 +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
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 Make WMV3 decoder attempt to decode WMVP as well 2010-09-26 13:56:50 +00:00
riff.h
rl2.c Fix doxygen comment. 2010-08-02 07:28:35 +00:00
rm.c
rm.h
rmdec.c
rmenc.c
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_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 Add RTP depacketization of the X-QT QuickTime format 2010-10-06 12:42:18 +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 Remove mostly unnecessary rtpdec_*.h files, store the declarations in one file 2010-07-30 12:04:27 +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_qdm2.c Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the 2010-09-25 23:27:16 +00:00
rtpdec_qt.c Add RTP depacketization of the X-QT QuickTime format 2010-10-06 12:42:18 +00:00
rtpdec_svq3.c rtpdec_svq3: Don't look for the unused RTP_FLAG_KEY flag 2010-10-03 18:55:46 +00:00
rtpdec_vp8.c Add RTP depacketization of VP8 2010-08-16 14:23:35 +00:00
rtpdec_xiph.c rtpdec_xiph: Split packets in the depacketizer 2010-08-05 04:42:36 +00:00
rtpdec.c rtpdec: Return AVERROR(EAGAIN) for mpegts parsing errors 2010-10-15 21:32:21 +00:00
rtpdec.h drop rtp_get_file_handles() which is not part of public API and not used anymore 2010-10-23 16:21:49 +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
rtpenc.c Handle G.722 in RTP, and all the exceptions mandated in RFC 3551 2010-09-15 17:35:39 +00:00
rtpenc.h Add RTP packetization of VP8 2010-08-16 14:21:17 +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: Split out the RTSP demuxer functions to a separate, new file 2010-10-29 08:43:57 +00:00
rtsp.h rtsp: Split out the RTSP demuxer functions to a separate, new file 2010-10-29 08:43:57 +00:00
rtspcodes.h
rtspdec.c rtsp: Set the real_setup pointer properly, avoid out of bounds memory accesses 2010-11-06 23:26:49 +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: Conditionally compile code using AF_INET6 2010-10-19 07:50: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 Split the ADTS header decoder off of the ADTS parser. 2010-07-12 18:52:03 +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 Remove two instances of AVERROR(ff_neterrno()), because ff_neterrno() itself 2010-11-04 13:53:16 +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 lavf: simplify setting the encoder ident tag. 2010-10-16 13:07:20 +00:00
vc1test.c
vc1testenc.c
voc.c
voc.h
vocdec.c
vocenc.c
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
westwood.c
wv.c
xa.c
yop.c
yuv4mpeg.c