avcodec/ansi: Check x/y
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 2 May 2013 00:15:03 +0000 (02:15 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 15 Jan 2014 23:45:07 +0000 (00:45 +0100)
commit271f5d68b922174e5b49df9778c89ee76b105c60
treefef883f87bbf2cd10eef0c2f0c5d153d7321c378
parentdee327b0e70d7051ed0d349974e88bd1ec8a246c
avcodec/ansi: Check x/y

This prevents out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e91fd754c63de7fd3cb7fdea8974166db362e387)

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