jvdec: check frame dimensions
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Dec 2014 20:01:59 +0000 (21:01 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Dec 2014 02:17:56 +0000 (03:17 +0100)
commit50f4543c6b37c2f16f3d40712db82abbe07c7887
treecc87b3c2a7b9324d9bcb114f15b63b74dd0c7ac1
parent1344e91f33c87e4dba08e8dc316cb6532dec8ba7
jvdec: check frame dimensions

The frame size must be set by the caller and each dimension must be a
multiple of 8.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
See: 105654e376a736d243aef4a1d121abebce912e6b
These should be redundant, but are backported for saftey anyway
libavcodec/jvdec.c