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>
Fri, 21 Mar 2014 03:23:59 +0000 (04:23 +0100)
commite0f351a97955c06772dd3969f25ed1c8999eed35
treeb9f0973e79572e535886aec4605e1c1f5109b4f2
parentc44ac4d81e864558096b870fd08059bc211cc52b
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