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, 20 Dec 2015 09:59:27 +0000 (10:59 +0100)
commit40d5f570d8aa42ab54e2f30cded7b257ee8797f5
tree93a5b1f041e6b2e1d181e22bf2305483f0ea299e
parent20a96b9d8c71b77761b82edd1971dc54354c175f
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