gmc: Always use edge emu
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Mar 2013 21:23:27 +0000 (22:23 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Mar 2013 21:24:33 +0000 (22:24 +0100)
commit3969b4b861ce8152e3195e8f8c3437abd273b90a
treea684fe9f8ab902001be660c44c2c28201c31e481
parent8fc52a5ef94712d900fc8fe7503cf9c9ba635143
gmc: Always use edge emu

The gmc functions access more pixels than there is allocated memory.
Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo_motion.c