avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_encode*()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 27 Nov 2015 20:02:13 +0000 (21:02 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2015 11:40:50 +0000 (12:40 +0100)
commitb6932f64343815e988e1f977f0bd099271cb6478
tree592541d167a5562468214b8a746ec70620f1b828
parentc44ee37cbd05af48523f7099803924dee757709c
avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_encode*()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit feb3f39614b88c113211a98dda1bc2fe5c3c6957)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeg2000dwt.c