avcodec/flashsv: check diff_start/height
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 20 Aug 2013 21:18:48 +0000 (23:18 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Sep 2013 20:52:12 +0000 (22:52 +0200)
commitedb4aad93dc2a08523ad16b5511cf985360dfd8e
tree4f00268e5b38844e9e22a169490f1b085024201c
parente4ad9e9377b51c5b6647f429915e2f56261710f1
avcodec/flashsv: check diff_start/height

Fixes out of array accesses
Fixes Ticket2844

Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 880c73cd76109697447fbfbaa8e5ee5683309446)

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