mpegvideo_motion: Handle edge emulation even without unrestricted_mv
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Nov 2013 15:11:42 +0000 (16:11 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 16 Sep 2016 14:28:07 +0000 (16:28 +0200)
commit136f55207521f0b03194ef5b55ba70f1635d6aee
tree748d440e8b8669d581e1a00e9fca215e796f5a2b
parent15fcf6292ed79be274c824fedb099c2665f4cc15
mpegvideo_motion: Handle edge emulation even without unrestricted_mv

Fix out of bounds read.

Bug-Id: 962
Found by: F4B3CD@STARLAB and Agostino Sarubbo
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/mpegvideo_motion.c