H264: Fix out of bounds reads in SSSE3 MC
authorAlexander Strange <astrange@ithinksw.com>
Sat, 30 May 2009 22:19:14 +0000 (22:19 +0000)
committerAlexander Strange <astrange@ithinksw.com>
Sat, 30 May 2009 22:19:14 +0000 (22:19 +0000)
commit2b9969a945584cd057bd47e3679869dcdc248192
tree789c1e1f772dc9446a1d920f941279830dcc6c9e
parentcbfe5bee2e20df90c581937b2cb4b1535acbf726
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
libavcodec/x86/h264dsp_mmx.c