cook: check js_subband_start for validity
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Feb 2013 23:19:39 +0000 (00:19 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Feb 2013 23:20:03 +0000 (00:20 +0100)
commitc69315a5deb0f8095e6b4746b69171d6f3059b2f
tree19c04e4f5c1b749da99e48ae40df93e7b85dbb54
parenta5153b1d1692e51cf69ff28bc6a25ce5241774e0
cook: check js_subband_start for validity

Fixes out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cook.c