ffmpeg/libavcodec
Michael Niedermayer 4d570f94ba prevent infinite loop and memcpy of negative amounts
fixes issue194

Originally committed as revision 10726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 12:25:31 +00:00
..
alpha
armv4l Fix put_*_xy2_arm bug and enable put_pixels16_arm and put_pixels8_y2_arm. 2007-09-05 11:05:33 +00:00
bfin license header consistency cosmetics. 2007-10-04 22:41:21 +00:00
i386 Fix intended order of operations for 4 assert() checks. 2007-10-11 22:18:38 +00:00
mlib
ppc Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is 2007-10-03 14:01:42 +00:00
ps2
sh4
sparc Hopefully fix sparc compilation again, add incorrectly removed variable declaration 2007-10-02 19:51:18 +00:00
4xm.c fix decoding of dracula.4xm before diego complains 2007-09-05 01:21:32 +00:00
8bps.c
aac_ac3_parser.c factorize code and add safety check to prevent memcpying negative amounts 2007-10-13 09:58:39 +00:00
aac_ac3_parser.h
aac_parser.c prevent infinite loop and memcpy of negative amounts 2007-10-13 12:25:31 +00:00
aasc.c
ac3_parser.c prevent infinite loop and memcpy of negative amounts 2007-10-13 12:25:31 +00:00
ac3_parser.h better AC3 header error reporting 2007-09-15 02:41:24 +00:00
ac3.c
ac3.h
ac3dec.c skip incomplete frames 2007-09-15 02:44:28 +00:00
ac3enc.c
ac3tab.c cosmetic 2007-09-10 00:31:27 +00:00
ac3tab.h
adpcm.c Replace "signed short" typecast with "int16_t" as suggested by 2007-10-04 15:13:42 +00:00
adx.c Do not try to decode more data than output buffer may hold 2007-09-24 03:32:24 +00:00
alac.c Remove reimplementation of get_unary. 2007-09-01 21:03:17 +00:00
allcodecs.c DNxHD (SMPTE VC-3) encoder 2007-10-08 11:27:18 +00:00
apedec.c Monkey Audio decoder 2007-09-13 03:22:47 +00:00
apiexample.c
asv1.c
atrac3.c
atrac3data.h
audioconvert.c
avcodec.h Specify in documentation that avcodec_find_(en|de)coder* only searches for 2007-10-11 21:09:40 +00:00
avs.c
beosthread.c
bethsoftvideo.c
bethsoftvideo.h
bitstream_filter.c add a close function to bitstream filter 2007-09-04 06:48:22 +00:00
bitstream.c
bitstream.h move get_unary() to its own file 2007-08-26 22:33:48 +00:00
bmp.c
bmp.h
bmpenc.c
bytestream.h
c93.c
cabac.c
cabac.h 10l: refill2() is not unused, it is used conditionally. 2007-10-12 09:38:34 +00:00
cavs_parser.c
cavs.c
cavs.h
cavsdata.h
cavsdec.c
cavsdsp.c
cinepak.c
cljr.c
colorspace.h
cook.c
cookdata.h
cscd.c
cyuv.c
dca_parser.c
dca.c Set data_size to zero when DCA header parse failed 2007-09-06 14:55:13 +00:00
dca.h
dcadata.h
dcahuff.h
dct-test.c
dnxhddata.c dnxhd 36mbit support 2007-10-08 15:36:57 +00:00
dnxhddata.h typo weigth->weight 2007-10-08 12:28:36 +00:00
dnxhddec.c typo weigth->weight 2007-10-08 12:28:36 +00:00
dnxhdenc.c better lambda search method 2007-10-09 14:15:03 +00:00
dpcm.c Guard against output buffer overflows 2007-09-22 09:21:43 +00:00
dsicinav.c Do not decode more data than output buffer may hold 2007-09-22 09:09:47 +00:00
dsputil.c sse2 version of compute_autocorr(). 2007-09-29 22:31:18 +00:00
dsputil.h Sanitize altivec code so it can be built with runtime check properly 2007-10-02 11:39:32 +00:00
dump_extradata_bsf.c
dv.c
dvbsub_parser.c
dvbsub.c
dvbsubdec.c
dvdata.h
dvdsub_parser.c
dvdsubdec.c
dvdsubenc.c
dxa.c
elbg.c
elbg.h
error_resilience.c On bitstream error is_intra_more_likely() could use dsp.sad[0]() that will segfault when xvmc is in use. 2007-09-28 20:38:32 +00:00
eval.c
eval.h
faandct.c
faandct.h
fdctref.c
fft-test.c
fft.c
ffv1.c
flac.c 20% faster lpc, 6% overall flac decoding 2007-09-30 03:01:56 +00:00
flacenc.c div -> mul 2007-10-01 05:56:30 +00:00
flashsv.c
flashsvenc.c
flicvideo.c Fix issue 123 (Support Magic-carpet fli version, 2007-09-04 17:31:25 +00:00
fraps.c
g726.c
gif.c
gifdec.c
golomb.c
golomb.h
h261_parser.c
h261.c
h261.h
h261data.h
h261dec.c
h261enc.c
h263_parser.c
h263_parser.h
h263.c merge some #ifdef CONFIG_ENCODERS sections 2007-10-03 17:50:27 +00:00
h263.h
h263data.h
h263dec.c
h264_mp4toannexb_bsf.c Add a bitstream filter for H.264. 2007-09-06 12:36:07 +00:00
h264_parser.c
h264_parser.h
h264.c Simplify tests for field macroblocks 2007-10-13 05:50:11 +00:00
h264.h Enable PAFF decoding 2007-10-09 12:28:17 +00:00
h264data.h Move H.264 intra prediction functions into their own context 2007-09-05 05:30:08 +00:00
h264dspenc.c
h264enc.c
h264idct.c
h264pred.c Move H.264 intra prediction functions into their own context 2007-09-05 05:30:08 +00:00
h264pred.h Move H.264 intra prediction functions into their own context 2007-09-05 05:30:08 +00:00
huffyuv.c
idcinvideo.c
imc.c
imcdata.h
imgconvert_template.h
imgconvert.c Enable avpicture_deinterlace() for PIX_FMT_GRAY8. 2007-10-11 22:31:08 +00:00
imgresample.c Sanitize altivec code so it can be built with runtime check properly 2007-10-02 11:39:32 +00:00
imx_dump_header_bsf.c
indeo2.c
indeo2data.h
indeo3.c
indeo3data.h
interplayvideo.c
jfdctfst.c
jfdctint.c
jpegls.c
jpegls.h
jpeglsdec.c
jpeglsdec.h
jpeglsenc.c
jrevdct.c
kmvc.c
lcl.h
lcldec.c
lclenc.c
liba52.c
libamr.c
libfaac.c
libfaad.c
libgsm.c
libmp3lame.c
libtheoraenc.c
libvorbis.c
libx264.c
libxvid_internal.h
libxvid_rc.c
libxvidff.c
ljpegenc.c
loco.c
lzw.c
lzw.h
lzwenc.c
mace.c
Makefile oops... mpegvideo_enc also depends on motion_est and ratecontrol 2007-10-09 05:39:49 +00:00
mathops.h Hooking bfin/mathops.h 2007-08-30 15:16:52 +00:00
mdct.c
mdec.c
mjpeg_parser.c
mjpeg.c
mjpeg.h
mjpega_dump_header_bsf.c
mjpegbdec.c
mjpegdec.c AMV video decoder. 2007-09-29 15:20:22 +00:00
mjpegdec.h
mjpegenc.c
mjpegenc.h
mmvideo.c
motion_est_template.c
motion_est.c
motion-test.c
mp3_header_compress_bsf.c
mp3_header_decompress_bsf.c
mpc.c
mpcdata.h
mpeg4data.h
mpeg4video_parser.c
mpeg4video_parser.h
mpeg12.c Prevent infinite loop when buffer holds SEQ_END_CODE only. Fix for r9870 2007-10-13 01:34:00 +00:00
mpeg12.h
mpeg12data.c
mpeg12data.h
mpeg12decdata.h
mpeg12enc.c
mpegaudio_parser.c
mpegaudio.c
mpegaudio.h
mpegaudiodata.c
mpegaudiodata.h
mpegaudiodec.c
mpegaudiodecheader.c
mpegaudiodecheader.h
mpegaudiodectab.h
mpegaudioenc.c
mpegaudiotab.h
mpegvideo_common.h
mpegvideo_enc.c export convert_matrix and add ff_ prefix 2007-10-08 09:14:46 +00:00
mpegvideo_parser.c
mpegvideo.c Manage Picture buffers for fields as well as frames. Pair complementary fields into one MPV Picture. 2007-10-08 17:44:38 +00:00
mpegvideo.h export convert_matrix and add ff_ prefix 2007-10-08 09:14:46 +00:00
msmpeg4.c
msmpeg4.h
msmpeg4data.c
msmpeg4data.h
msrle.c
msvideo1.c
noise_bsf.c
nuv.c dsputil must be initialized before calling rtjpeg init. 2007-09-09 18:14:11 +00:00
opt.c
opt.h
os2thread.c
parser.c
parser.h
pcm.c
png.c
png.h
pngdec.c
pngenc.c Allow to override zlib compression level in PNG encoder via avctx->compression_level 2007-10-09 15:33:19 +00:00
pnm_parser.c
pnm.c
pnm.h
pnmenc.c
pthread.c
ptx.c
qdm2.c
qdm2data.h
qdrw.c
qpeg.c
qtrle.c
qtrleenc.c
ra144.c
ra144.h
ra288.c
ra288.h
rangecoder.c
rangecoder.h
ratecontrol.c fix timestamps used for ratecontrol 2007-09-11 22:46:41 +00:00
ratecontrol.h
raw.c HDYC fourcc, sample hdyc/Test2.avi 2007-09-21 18:23:46 +00:00
raw.h
rawdec.c
rawenc.c
remove_extradata_bsf.c
resample2.c
resample.c
rl.h
rle.c
rle.h
roqaudioenc.c
roqvideo.c
roqvideo.h
roqvideodec.c
roqvideoenc.c
rpza.c
rtjpeg.c
rtjpeg.h
rv10.c
s3tc.c
s3tc.h
sgi.h
sgidec.c
sgienc.c
shorten.c
simple_idct.c
simple_idct.h
smacker.c Check unp_size for possible overflows too 2007-09-14 06:01:29 +00:00
smc.c
snow.c warning fixes: 2007-10-11 09:35:06 +00:00
snow.h
sonic.c
sp5x.h
sp5xdec.c AMV video decoder. 2007-09-29 15:20:22 +00:00
svq1_cb.h
svq1_vlc.h
svq1.c
svq1.h
svq1dec.c
svq1enc_cb.h
svq1enc.c
svq3.c Move H.264 intra prediction functions into their own context 2007-09-05 05:30:08 +00:00
targa.c
targaenc.c
tiertexseqv.c
tiff.c
tiff.h
tiffenc.c
truemotion1.c
truemotion1data.h
truemotion2.c
truespeech_data.h
truespeech.c Add checks on input/output buffers size for some audio decoders 2007-09-13 05:59:58 +00:00
tscc.c
tta.c
txd.c
ulti_cb.h
ulti.c
unary.h Remove reimplementation of get_unary. 2007-09-01 21:03:17 +00:00
utils.c oops, revert unrelated change 2007-09-27 03:16:25 +00:00
vc1_parser.c
vc1.c Enable error resilience in WMV3/VC-1 decoder 2007-09-15 11:06:27 +00:00
vc1.h
vc1acdata.h
vc1data.c
vc1data.h
vc1dsp.c
vcr1.c
vmdav.c Fix decoding of VMDs representing sprites (Last Dynasty, Woodruff). 2007-09-23 16:11:07 +00:00
vmnc.c
vorbis_data.c
vorbis_dec.c
vorbis_enc_data.h
vorbis_enc.c
vorbis.c
vorbis.h
vp3.c
vp3data.h
vp3dsp.c
vp5.c add a new vp6a codec (add alpha plan support to vp6) 2007-09-25 19:12:46 +00:00
vp5data.h
vp6.c add a new vp6a codec (add alpha plan support to vp6) 2007-09-25 19:12:46 +00:00
vp6data.h
vp56.c simplify 2007-09-25 22:33:31 +00:00
vp56.h add a new vp6a codec (add alpha plan support to vp6) 2007-09-25 19:12:46 +00:00
vp56data.c add a new vp6a codec (add alpha plan support to vp6) 2007-09-25 19:12:46 +00:00
vp56data.h add a new vp6a codec (add alpha plan support to vp6) 2007-09-25 19:12:46 +00:00
vqavideo.c
w32thread.c
wavpack.c add get_unary_0_33() to help gcc with inlining 2007-08-26 22:38:57 +00:00
wma.c
wma.h
wmadata.h
wmadec.c
wmaenc.c
wmv2.c
wnv1.c
ws-snd1.c Add checks on input/output buffers size for some audio decoders 2007-09-13 05:59:58 +00:00
xan.c
xiph.c
xiph.h
xl.c
xsubdec.c
xvmc_render.h
xvmcvideo.c Remove inline from function that is exported. 2007-09-18 18:12:53 +00:00
zmbv.c
zmbvenc.c