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>
Mon, 20 Jan 2014 17:46:37 +0000 (18:46 +0100)
commit6ba02602aa7fc7d38db582e75b8b093fb3c1608d
tree9b30aeab0dd006fa221155c8811a32d2027175be
parent7c6cf689d825ee6ffefce11b1935c475c7ef5807
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>
libavcodec/vmnc.c