FFmpeg/libavcodec
Alexander Strange 2b9969a945 H264: Fix out of bounds reads in SSSE3 MC
Reading above src[-2] isn't safe, so move loads and palignr ahead
3 pixels to load starting at the first pixel actually used.

Fixes issue941.

Originally committed as revision 18999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-30 22:19:14 +00:00
..
alpha
arm ARM: add some PLD in NEON IDCT 2009-05-28 17:19:28 +00:00
bfin blackfin: disable broken dsputil functions 2009-05-28 22:36:06 +00:00
mips MIPS: add MIPS64 and Loongson asm for MAC64/MLS64 2009-05-28 23:19:32 +00:00
mlib
ppc Change HAVE_PPC64 to ARCH_PPC64. 2009-05-26 05:00:51 +00:00
ps2
sh4
sparc
x86 H264: Fix out of bounds reads in SSSE3 MC 2009-05-30 22:19:14 +00:00
4xm.c
8bps.c
8svx.c
aac_ac3_parser.c Cosmetics after last commit 2009-05-13 17:59:46 +00:00
aac_ac3_parser.h Add channel layout support to the AC-3 decoder and AC-3 parser. 2009-04-19 15:05:32 +00:00
aac_parser.c Allow parsing and decoding of ADTS AAC files with channel config = 0 2009-05-13 17:57:58 +00:00
aac_parser.h Move the ADTS header size to the parser's header file. 2009-05-13 14:11:11 +00:00
aac.c In the event of a mismatch, do not follow the sample rate index in an AAC PCE. 2009-05-26 21:34:56 +00:00
aac.h
aacdectab.h
aacenc.c Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
aacpsy.c
aacpsy.h
aactab.c
aactab.h
aandcttab.c
aandcttab.h
aasc.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
ac3_parser.c Add channel layout support to the AC-3 decoder and AC-3 parser. 2009-04-19 15:05:32 +00:00
ac3_parser.h
ac3.c
ac3.h Add channel layout support to the AC-3 decoder and AC-3 parser. 2009-04-19 15:05:32 +00:00
ac3dec_data.c eac3dec: make GAQ dequantization 24-bit 2009-05-21 00:15:03 +00:00
ac3dec_data.h eac3dec: make GAQ dequantization 24-bit 2009-05-21 00:15:03 +00:00
ac3dec.c eac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQ 2009-05-21 00:09:23 +00:00
ac3dec.h ac3dec: Remove unneeded context variable, num_cpl_subbands. It is also 2009-05-06 01:47:34 +00:00
ac3enc.c ac3enc: log a warning message if the channel layout is not specified at 2009-04-20 00:34:08 +00:00
ac3tab.c Add channel layout support to the AC-3 decoder and AC-3 parser. 2009-04-19 15:05:32 +00:00
ac3tab.h Add channel layout support to the AC-3 decoder and AC-3 parser. 2009-04-19 15:05:32 +00:00
acelp_filters.c
acelp_filters.h
acelp_pitch_delay.c
acelp_pitch_delay.h
acelp_vectors.c
acelp_vectors.h
adpcm.c Check if there is enough bytes before reading the buffer in the EA ADPCM 2009-04-27 16:06:01 +00:00
adx.h
adxdec.c
adxenc.c
alac.c
alacenc.c
allcodecs.c V210 Uncompressed 4:2:2 10-bit encoder and decoder 2009-05-12 19:56:48 +00:00
apedec.c
api-example.c
asv1.c
atrac3.c Indent 2009-05-17 16:13:03 +00:00
atrac3data.h Change from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in atrac3 2009-05-17 16:12:07 +00:00
audioconvert.c Check that channel layout is compatible with number of channels for 2009-04-19 14:05:55 +00:00
audioconvert.h Check that channel layout is compatible with number of channels for 2009-04-19 14:05:55 +00:00
avcodec.h remove apparently unused real_pict_num from AVCodecContext 2009-05-27 21:40:10 +00:00
avpacket.c Export av_free_packet(). 2009-04-30 12:06:34 +00:00
avs.c
beosthread.c
bethsoftvideo.c
bethsoftvideo.h
bfi.c
bitstream_filter.c
bitstream.c
bmp.c
bmp.h
bmpenc.c
bytestream.h
c93.c
cabac.c
cabac.h
cavs_parser.c
cavs.c
cavs.h
cavsdata.h
cavsdec.c
cavsdsp.c
celp_filters.c Add LP zero synthesis filter. Patch by Kenan Gillet. 2009-04-18 22:53:37 +00:00
celp_filters.h Add LP zero synthesis filter. Patch by Kenan Gillet. 2009-04-18 22:53:37 +00:00
celp_math.c
celp_math.h
cga_data.c Add CGA and palette data for 8088flex TMV decoder. 2009-05-06 21:51:58 +00:00
cga_data.h Add CGA and palette data for 8088flex TMV decoder. 2009-05-06 21:51:58 +00:00
cinepak.c
cljr.c
colorspace.h
cook.c Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
cookdata.h
cscd.c
cyuv.c
dca_parser.c
dca.c Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
dca.h
dcadata.h
dcahuff.h
dct-test.c
dctref.c
dirac_parser.c
dnxhd_parser.c
dnxhddata.c
dnxhddata.h
dnxhddec.c
dnxhdenc.c data parameter of dnxhd_encode_picture() should not be const. 2009-05-08 19:41:21 +00:00
dnxhdenc.h
dpcm.c
dsicinav.c
dsputil.c Don't #if a function declaration and properly indent it. 2009-04-30 21:34:56 +00:00
dsputil.h Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
dump_extradata_bsf.c
dv.c Add a chroma_sample_location field to define positioning of chroma samples 2009-05-11 04:34:23 +00:00
dvbsub_parser.c
dvbsub.c
dvbsubdec.c
dvdata.h
dvdsub_parser.c
dvdsubdec.c
dvdsubenc.c
dxa.c
eac3dec.c eac3dec: get rid of unnecessary left shifts in 16-bit * 24-bit 2009-05-25 16:12:51 +00:00
eacmv.c
eaidct.c
eatgq.c Move eatgq blocks array from the stack to the codec context and make sure 2009-05-22 18:39:00 +00:00
eatgv.c
eatqi.c eatqi: move "block" variable into context to ensure sufficient alignment for 2009-05-24 09:14:19 +00:00
elbg.c
elbg.h
error_resilience.c
escape124.c
eval.c
eval.h
faandct.c
faandct.h
faanidct.c
faanidct.h
faxcompr.c
faxcompr.h
fft-test.c Support for testing (i)MDCT output scale factor in fft-test tool. 2009-05-20 07:23:09 +00:00
fft.c
ffv1.c indent 2009-04-24 13:38:28 +00:00
flac.c
flac.h
flacdata.c
flacdata.h
flacdec.c
flacenc.c
flashsv.c
flashsvenc.c
flicvideo.c
fraps.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
g726.c
g729.h
g729data.h
g729dec.c
get_bits.h
gif.c
gifdec.c The GIF decoder uses get_buffer, so set DR1. 2009-05-30 04:07:14 +00:00
golomb.c
golomb.h
h261_parser.c
h261.c
h261.h
h261data.h
h261dec.c
h261enc.c Remove unused variable from h261_encode_block() found by CSA. 2009-04-17 17:56:16 +00:00
h263_parser.c
h263_parser.h
h263.c Remove dead assignments found by CSA 2009-05-02 09:12:03 +00:00
h263.h
h263data.h
h263dec.c remove unused hack which set AVCodecContext frame_number to pic timestamp 2009-05-30 00:24:20 +00:00
h264_mp4toannexb_bsf.c Add a quick description to the H.264 BSF 2009-05-13 06:06:59 +00:00
h264_parser.c
h264_parser.h
h264.c remove unused hack which set AVCodecContext frame_number to pic timestamp 2009-05-30 00:24:20 +00:00
h264.h
h264data.h
h264dspenc.c
h264enc.c
h264idct.c
h264pred.c Remove useless assignments, at least one found by CSA. 2009-04-17 18:28:59 +00:00
h264pred.h
huffman.c
huffman.h
huffyuv.c Fix passing of unaligned addresses to dsputil diff_bytes() by 2009-05-23 19:37:01 +00:00
idcinvideo.c
iirfilter.c
iirfilter.h
imc.c
imcdata.h
imgconvert.c Add 420,422 and 444 planar 16bit per component pix formats. 2009-04-21 01:02:48 +00:00
imgconvert.h
imx_dump_header_bsf.c
indeo2.c Use new static VLC scheme in Indeo2, Musepack and WNV1 decoders 2009-04-17 14:09:56 +00:00
indeo2data.h
indeo3.c
indeo3data.h
internal.h
interplayvideo.c Simplify ipvideo_decode_opcodes by using get_bits, this might be slower 2009-04-17 19:28:36 +00:00
intrax8.c
intrax8.h
intrax8dsp.c
intrax8huf.h
jfdctfst.c
jfdctint.c
jpegls.c
jpegls.h
jpeglsdec.c
jpeglsdec.h
jpeglsenc.c
jrevdct.c Remove unused assignment from j_rev_dct() found by CSA. 2009-04-17 14:43:28 +00:00
kmvc.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
lcl.h
lcldec.c Use memcpy instead of per-pixel copy loop for rgb lcl format 2009-05-30 11:20:07 +00:00
lclenc.c
libamr.c Use IF1 frame sizes in AMR-WB. 2009-05-20 08:57:32 +00:00
libdirac_libschro.c
libdirac_libschro.h
libdirac.h
libdiracdec.c
libdiracenc.c
libfaac.c
libfaad.c
libgsm.c
libmp3lame.c
libopenjpeg.c Add lowres support to the libopenjpeg wrapper. 2009-05-26 17:04:28 +00:00
libschroedinger.c
libschroedinger.h
libschroedingerdec.c
libschroedingerenc.c
libspeexdec.c
libtheoraenc.c Fix libtheora encoding for non-mod16 sizes 2009-05-22 22:01:50 +00:00
libvorbis.c
libx264.c
libxvid_internal.h
libxvid_rc.c
libxvidff.c
ljpegenc.c
loco.c
lpc.c
lpc.h
lsp.c
lsp.h
lzw.c
lzw.h
lzwenc.c
mace.c
Makefile Altivec VP3 IDCT 2009-05-25 22:19:35 +00:00
mathops.h MIPS: add MIPS64 and Loongson asm for MAC64/MLS64 2009-05-28 23:19:32 +00:00
mdct.c Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
mdec.c
mimic.c
mjpeg_parser.c
mjpeg.c
mjpeg.h
mjpega_dump_header_bsf.c
mjpegbdec.c Make sure offsets of mjpeg b are within the buffer. 2009-05-30 10:04:09 +00:00
mjpegdec.c honor restart interval in mjpeg, fix #861, SpectralFan.mov still decodes correctly 2009-05-25 02:34:31 +00:00
mjpegdec.h
mjpegenc.c
mjpegenc.h
mlp_parser.c
mlp_parser.h
mlp.c
mlp.h mlp: Simplify adressing of state and coeffs arrays for both filters by making 2009-05-15 15:34:22 +00:00
mlpdec.c mlp: Simplify adressing of state and coeffs arrays for both filters by making 2009-05-15 15:34:22 +00:00
mlpdsp.c mlp: Re-enable x86-optimized DSP functions. 2009-05-25 01:53:43 +00:00
mmvideo.c
motion_est_template.c
motion_est.c
motion-test.c
motionpixels.c Add missing return statement to out-of-memory condition. Fixes the warning: 2009-04-30 10:21:22 +00:00
movsub_bsf.c
mp3_header_compress_bsf.c
mp3_header_decompress_bsf.c
mpc7.c Use skip_bits_long() for large skips 2009-05-14 00:02:07 +00:00
mpc7data.h
mpc8.c Compact and make constant two tables used by Musepack decoders 2009-04-20 15:36:27 +00:00
mpc8data.h
mpc8huff.h
mpc.c
mpc.h
mpcdata.h
mpeg4audio.c Subroutine to copy an AAC Program Config Element (PCE) 2009-05-13 22:57:30 +00:00
mpeg4audio.h Subroutine to copy an AAC Program Config Element (PCE) 2009-05-13 22:57:30 +00:00
mpeg4data.h
mpeg4video_parser.c
mpeg4video_parser.h
mpeg12.c Rename alloc_picture to ff_alloc_picture and move its definition 2009-05-27 19:55:35 +00:00
mpeg12.h mpeg12: fix non-standard use of "extern inline" 2009-05-17 00:54:29 +00:00
mpeg12data.c
mpeg12data.h
mpeg12decdata.h
mpeg12enc.c Move declarations in mpeg1_encode_motion() closer to where they are needed. 2009-04-17 12:53:11 +00:00
mpegaudio_parser.c Cosmetics: Fix indentation after r18741. 2009-05-05 15:48:04 +00:00
mpegaudio.c
mpegaudio.h
mpegaudiodata.c
mpegaudiodata.h
mpegaudiodec.c mpegaudio: enclose SUM8() macro args in parens when used 2009-05-05 18:44:13 +00:00
mpegaudiodecheader.c
mpegaudiodecheader.h
mpegaudiodectab.h
mpegaudioenc.c
mpegaudiotab.h
mpegvideo_common.h
mpegvideo_enc.c remove apparently unused real_pict_num from AVCodecContext 2009-05-27 21:40:10 +00:00
mpegvideo_parser.c
mpegvideo_xvmc.c
mpegvideo.c Rename alloc_picture to ff_alloc_picture and move its definition 2009-05-27 19:55:35 +00:00
mpegvideo.h Rename alloc_picture to ff_alloc_picture and move its definition 2009-05-27 19:55:35 +00:00
msmpeg4.c
msmpeg4.h
msmpeg4data.c
msmpeg4data.h
msrle.c msrle uncompressed decoding, fix #1074 and many other samples under /RLE 2009-05-27 21:45:25 +00:00
msrledec.c do not print false error if eof follows eol 2009-05-27 06:43:51 +00:00
msrledec.h cosmetics: Fix some typos. 2009-05-22 17:14:22 +00:00
msvideo1.c
nellymoser.c
nellymoser.h
nellymoserdec.c Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
nellymoserenc.c Move a DECLARE_ALIGNED_16 variable in the Nellymoser encoder from the stack 2009-05-25 12:17:02 +00:00
noise_bsf.c
nuv.c
opt.c Make av_set_string3() print a message in case of unknown option. 2009-05-14 18:50:58 +00:00
opt.h Document av_set_string3() returned error codes. 2009-05-14 19:03:22 +00:00
options.c remove apparently unused real_pict_num from AVCodecContext 2009-05-27 21:40:10 +00:00
os2thread.c
parser.c do not reference remainder packets in the parser, fix timestamps fetching 2009-05-26 23:58:30 +00:00
parser.h
pcm.c Indent 2009-04-19 20:41:26 +00:00
pcx.c
pcxenc.c
pixdesc.c Implement av_get_bits_per_pixel(). 2009-04-27 23:20:30 +00:00
pixdesc.h Implement av_get_bits_per_pixel(). 2009-04-27 23:20:30 +00:00
png.c
png.h
pngdec.c Fix unaligned dsputil call. 2009-05-24 12:44:54 +00:00
pngenc.c
pnm_parser.c
pnm.c
pnm.h
pnmenc.c
pthread.c
ptx.c
put_bits.h
qcelp_lsp.c
qcelpdata.h Fix bandwith vs. bandwiDth typo. 2009-05-12 23:40:22 +00:00
qcelpdec.c Fix bandwith vs. bandwiDth typo. 2009-05-12 23:40:22 +00:00
qdm2.c Indent 2009-05-17 10:31:16 +00:00
qdm2data.h
qdrw.c
qpeg.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
qtrle.c
qtrleenc.c fix qtrle encoding when previous frame linesize differs, fix #998 2009-05-23 05:55:29 +00:00
ra144.c
ra144.h
ra288.c
ra288.h
rangecoder.c
rangecoder.h
ratecontrol.c Remove 2 useless assignments from ff_rate_control_init() found by CSA. 2009-04-17 17:52:58 +00:00
ratecontrol.h
raw.c Support YVU9 AVI 4cc. 2009-05-26 03:51:00 +00:00
raw.h
rawdec.c Support YVU9 AVI 4cc. 2009-05-26 03:51:00 +00:00
rawenc.c
rdft.c
rectangle.h
remove_extradata_bsf.c
resample2.c
resample.c
rl2.c
rl.h
rle.c
rle.h
roqaudioenc.c
roqvideo.c
roqvideo.h
roqvideodec.c
roqvideoenc.c Remove useless assignment in generate_codebook(). Found by Clang static analyser. 2009-04-17 13:07:18 +00:00
rpza.c
rtjpeg.c Distinguish between non-coded blocks and decode errors in rtjpeg's get_block 2009-05-24 09:06:06 +00:00
rtjpeg.h Move "block" variable in rtjpeg decoder to context to ensure sufficient alignment 2009-05-24 08:36:52 +00:00
rv10.c indent 2009-05-23 23:02:33 +00:00
rv30.c
rv30data.h
rv30dsp.c
rv34.c Revert changing VLC initialization type for RV3/4 decoder. 2009-04-27 05:30:22 +00:00
rv34.h
rv34data.h
rv34vlc.h
rv40.c cosmetics: remove extra space indentation 2009-04-24 05:52:53 +00:00
rv40data.h
rv40dsp.c
rv40vlc2.h
s3tc.c
s3tc.h
sgi.h
sgidec.c
sgienc.c sgi encoder does not support pal8 2009-05-10 22:36:16 +00:00
shorten.c
simple_idct.c
simple_idct.h
smacker.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
smc.c
snow.c Correct x/ymin to avoid segfault due to out of picture reads. 2009-05-08 15:14:36 +00:00
snow.h
sonic.c
sp5x.h
sp5xdec.c Remove dead assignments found by CSA 2009-05-03 09:32:40 +00:00
sunrast.c
svq1_cb.h
svq1_vlc.h
svq1.c
svq1.h
svq1dec.c Move ALIGN macro to libavutil/common.h and use it in various places 2009-05-22 21:32:13 +00:00
svq1enc_cb.h
svq1enc.c
svq3.c remove unused hack which set AVCodecContext frame_number to pic timestamp 2009-05-30 00:24:20 +00:00
targa.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
targaenc.c
tiertexseqv.c
tiff.c Add 32-bit RGB support to TIFF decoder and extend a bit 'unsupported format' message 2009-05-06 06:49:04 +00:00
tiff.h
tiffenc.c
tmv.c Make TMV decoder check packet sizes before reading from it. 2009-05-17 09:48:12 +00:00
truemotion1.c
truemotion1data.h
truemotion2.c TrueMotion 2 uses its own YUV-like colourspace, so convert output to proper RGB. 2009-04-24 06:44:16 +00:00
truespeech_data.h
truespeech.c
tscc.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
tta.c
txd.c
ulti_cb.h
ulti.c
unary.h
utils.c Move ALIGN macro to libavutil/common.h and use it in various places 2009-05-22 21:32:13 +00:00
v210dec.c add casts to silence gcc warnings 2009-05-13 00:27:11 +00:00
v210enc.c add casts to silence gcc warnings 2009-05-13 00:32:46 +00:00
v210x.c Add casts to v210x decoder to avoid warnings. 2009-05-30 09:05:24 +00:00
vaapi_internal.h
vaapi_mpeg2.c
vaapi_mpeg4.c
vaapi_vc1.c
vaapi.c
vaapi.h
vb.c
vc1_parser.c set pict_type in VC-1 parser, fix some timestamps problems 2009-05-30 00:09:00 +00:00
vc1.c remove unused hack which set AVCodecContext frame_number to pic timestamp 2009-05-30 00:24:20 +00:00
vc1.h set pict_type in VC-1 parser, fix some timestamps problems 2009-05-30 00:09:00 +00:00
vc1acdata.h
vc1data.c
vc1data.h
vc1dsp.c
vcr1.c
vdpau_internal.h
vdpau.c
vdpau.h
vmdav.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
vmnc.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
vorbis_data.c
vorbis_dec.c Use iMDCT output scaling to simplify ffvorbis and make it slightly faster. 2009-05-20 07:26:09 +00:00
vorbis_enc_data.h
vorbis_enc.c Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
vorbis.c
vorbis.h
vp3_parser.c
vp3.c Support block-level quantization in Theora 2009-05-29 21:43:22 +00:00
vp3data.h
vp3dsp.c
vp5.c
vp5data.h
vp6.c
vp6data.h
vp6dsp.c
vp56.c
vp56.h
vp56data.c
vp56data.h
vqavideo.c
w32thread.c
wavpack.c Add floating point audio decoding to WavPack decoder. 2009-05-06 05:40:43 +00:00
wma.c
wma.h
wmadata.h
wmadec.c Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
wmaenc.c Support for getting (i)MDCT output multiplied by a constant scaling factor. 2009-05-16 14:17:08 +00:00
wmv2.c
wmv2.h
wmv2dec.c
wmv2enc.c
wnv1.c cosmetics: reindent after last commit 2009-04-17 14:10:24 +00:00
ws-snd1.c
xan.c Avoid code duplication in xan_unpack for the final memcpy. 2009-04-18 17:26:00 +00:00
xiph.c
xiph.h
xl.c
xsubdec.c
xvmc_internal.h
xvmc.h
zmbv.c Remove useless assignment during initialization for some decoders 2009-04-24 14:09:24 +00:00
zmbvenc.c Move ALIGN macro to libavutil/common.h and use it in various places 2009-05-22 21:32:13 +00:00