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>
Fri, 27 Nov 2015 20:02:13 +0000 (21:02 +0100)
commitfeb3f39614b88c113211a98dda1bc2fe5c3c6957
tree86ba876532d5cc3c202cf11d6beba2ee80d89e42
parent75422280fbcdfbe9dc56bde5525b4d8b280f1bc5
avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_encode*()

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