avcodec/vmnc: Check that rectangles are within the picture
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Jan 2014 17:08:18 +0000 (18:08 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Feb 2014 03:50:17 +0000 (04:50 +0100)
commit7adf4a92a17dfa26b03869fe842336db9ed21b4b
tree7f5899f4bbb2a9ec8fe5b80814fcfd7459c8d60f
parente04f68f7c522d44b2d68fd832ff76d27b72cb47f
avcodec/vmnc: Check  that rectangles are within the picture

Prevents out of array accesses with CODEC_FLAG_EMU_EDGE

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6ba02602aa7fc7d38db582e75b8b093fb3c1608d)

Conflicts:

libavcodec/vmnc.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 7c17207ab9acfaa934e8feb8fba90765c9d0b989)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vmnc.c