FFmpeg/libavformat
Michael Niedermayer 0521946359 adding a few checks to the audio packet descrambling, this should hopefully catch all related out of array accesses
note, the original code might have been exploitable

Originally committed as revision 7640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 03:19:00 +00:00
..
4xm.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
adtsenc.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
aiff.c the context is supposed to be freed in the generic code in utils.c 2007-01-21 12:47:46 +00:00
allformats.c remove no longer needed #ifdefs 2007-01-21 21:04:01 +00:00
allformats.h Musepack SV7 decoding support 2006-12-24 04:51:43 +00:00
amr.c unused #define 2006-10-10 23:59:08 +00:00
asf-enc.c simplify GUIDs 2007-01-21 20:06:19 +00:00
asf.c adding a few checks to the audio packet descrambling, this should hopefully catch all related out of array accesses 2007-01-22 03:19:00 +00:00
asf.h simplify GUIDs 2007-01-21 20:06:19 +00:00
au.c remove now useless codec_tag setting code in muxers 2007-01-21 12:44:58 +00:00
audio.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
avformat.h get rid of the [4] limitation of codec tag lists 2007-01-21 12:08:31 +00:00
avi.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
avidec.c Make nb_streams unsigned to avoid an ugly cast. 2007-01-16 22:31:10 +00:00
avienc.c get rid of the [4] limitation of codec tag lists 2007-01-21 12:08:31 +00:00
avio.c makes the filename member of the URLContext a pointer, so that the 2007-01-14 22:07:19 +00:00
avio.h makes the filename member of the URLContext a pointer, so that the 2007-01-14 22:07:19 +00:00
aviobuf.c fix indention of previous commit 2007-01-01 21:49:50 +00:00
avisynth.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
avs.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
barpainet.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
base64.c Add base64 encoding and decoding routines 2006-10-28 00:12:31 +00:00
base64.h Add base64 encoding and decoding routines 2006-10-28 00:12:31 +00:00
beosaudio.cpp Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
crc.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
cutils.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
daud.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
dc1394.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
dsicin.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
dv.c * Fixing seeking with DV-AVI (by Jeff Downs <heydowns at borg dot com>) 2007-01-11 22:32:19 +00:00
dv.h * Fixing seeking with DV-AVI (by Jeff Downs <heydowns at borg dot com>) 2007-01-11 22:32:19 +00:00
dv1394.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
dv1394.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
dvenc.c * Fixing a bug with incorrect bits set in AAUX source pack 2007-01-15 07:41:28 +00:00
electronicarts.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
ffm.c use the standard INT64_C() macro for 64-bit constants 2006-12-06 23:46:11 +00:00
file.c Remove useless #include. 2006-12-21 11:14:56 +00:00
flic.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
flv.h Defines various common FLV format values between the FLV muxer and demuxer 2006-12-06 00:23:04 +00:00
flvdec.c add FLV decoder metadata parsing 2006-12-12 12:29:33 +00:00
flvenc.c remove now useless codec_tag setting code in muxers 2007-01-21 12:44:58 +00:00
framehook.c rename HAVE_DLFCN to HAVE_DLFCN_H 2006-11-14 23:53:37 +00:00
framehook.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
gif.c kill AVImageFormat 2006-11-02 23:22:23 +00:00
gifdec.c kill AVImageFormat 2006-11-02 23:22:23 +00:00
grab.c omg, major typo (fails if card supports rgb24) 2007-01-18 15:42:25 +00:00
grab_bktr.c Properly check for all required bktr headers. 2006-12-24 03:53:15 +00:00
gxf.c Set CODEC_TYPE_DATA for timecode tracks. 2006-11-22 18:47:05 +00:00
gxf.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
gxfenc.c Fix some more license headers. 2007-01-22 01:16:42 +00:00
http.c The long awaited BeOS cleanup, phase 1 2007-01-18 17:22:30 +00:00
idcin.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
idroq.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
img.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
img2.c Fix a crash when probing img2 format with a NULL filename. 2006-12-20 23:33:50 +00:00
ipmovie.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
isom.c add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
isom.h add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
jpeg.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
libnut.c add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
Makefile reorder alphabetically 2007-01-21 21:20:18 +00:00
matroska.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
mm.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
mmf.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
mov.c add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
movenc.c add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
mp3.c variable renaming: mp3lame --> libmp3lame 2007-01-07 00:02:15 +00:00
mpc.c 10l, > vs. >= typo, caused crashes on last mpc frame 2007-01-14 16:10:05 +00:00
mpeg.c simplify 2007-01-17 12:06:31 +00:00
mpegts.c make some symbols static 2006-11-11 20:56:36 +00:00
mpegts.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
mpegtsenc.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
mpjpeg.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
mtv.c now we set codec_tag, still have to figure out how to handle flipping 2006-11-03 20:13:42 +00:00
mxf.c cosmetics, function -> metadata 2007-01-15 01:04:43 +00:00
nsvdec.c add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
nut.c variable renaming: mp3lame --> libmp3lame 2007-01-07 00:02:15 +00:00
nut.h 10l forgot (skip non keyframes after seeking between syncpoint and the first keyframe) 2006-11-16 12:27:43 +00:00
nutdec.c simplify 2007-01-21 12:43:29 +00:00
nuv.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
ogg.c Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts. 2006-11-01 22:39:58 +00:00
ogg2.c check for sane values in ogg_get_length(), fix lol-ffplay.ogm fuzz test 2007-01-15 22:45:50 +00:00
ogg2.h save/restore number of streams 2007-01-15 22:05:22 +00:00
oggparseflac.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
oggparseogm.c move common stuff from avienc.c and wav.c to new file riff.c 2006-07-12 00:09:34 +00:00
oggparsetheora.c fix playback of theora.ogg on mphq patch by (matthieu castet %% castet dat matthieu ot free dat fr %%) 2006-07-17 10:44:53 +00:00
oggparsevorbis.c fix some signedness warnings 2006-09-27 19:47:39 +00:00
os_support.c use the standard INT64_C() macro for 64-bit constants 2006-12-06 23:46:11 +00:00
os_support.h The long awaited BeOS cleanup, phase 1 2007-01-18 17:22:30 +00:00
png.c Remove useless #ifdef. 2007-01-21 22:02:12 +00:00
pnm.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
psxstr.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
qtpalette.h COSMETICS: Remove all trailing whitespace. 2005-12-17 18:14:38 +00:00
raw.c mpeg4probe patch by (Thijs Vermeir ; thijs vermeir barco com) 2006-11-08 01:21:23 +00:00
riff.c remove now useless codec_tag setting code in muxers 2007-01-21 12:44:58 +00:00
riff.h add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
rm.c Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts. 2006-11-01 22:39:58 +00:00
rtp.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
rtp.h make ffmpeg able to send back a RTCP receiver report. 2006-10-27 18:19:29 +00:00
rtp_h264.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
rtp_h264.h add support for rtp/h264 streaming 2006-11-07 22:10:07 +00:00
rtp_internal.h add valid statistics for the RTCP receiver report. 2006-11-03 07:55:57 +00:00
rtpproto.c The long awaited BeOS cleanup, phase 1 2007-01-18 17:22:30 +00:00
rtsp.c The long awaited BeOS cleanup, phase 1 2007-01-18 17:22:30 +00:00
rtsp.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
rtspcodes.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
segafilm.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
sgi.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
sierravmd.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
smacker.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
sol.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
swf.c add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
tcp.c BeOS cleanup 2007-01-21 20:40:22 +00:00
tiertexseq.c missdetected a broken mp3 2007-01-02 22:22:12 +00:00
tta.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
udp.c cosmetics: indentation 2007-01-18 23:23:41 +00:00
utils.c set codec_tag from codec_id if its not set and can be set based on the AVCodecTag tables 2007-01-21 12:31:58 +00:00
v4l2.c use the standard INT64_C() macro for 64-bit constants 2006-12-06 23:46:11 +00:00
voc.c add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
voc.h add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
vocdec.c get rid of the [4] limitation of codec tag lists 2007-01-21 12:08:31 +00:00
vocenc.c remove now useless codec_tag setting code in voc muxer 2007-01-21 22:41:37 +00:00
wav.c get rid of the [4] limitation of codec tag lists 2007-01-21 12:08:31 +00:00
wc3movie.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
westwood.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
wv.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
x11grab.c typo: pallete --> palette 2007-01-13 04:19:45 +00:00
yuv.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
yuv4mpeg.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00