avcodec/libopenjpegenc: Set numresolutions by default to a value that is not too...
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 26 Jun 2016 15:34:37 +0000 (17:34 +0200)
committerJames Almer <jamrial@gmail.com>
Fri, 1 Jul 2016 03:01:46 +0000 (00:01 -0300)
commit96f5019bde0f6719133a36433fec465b8538df25
tree7c70e2177ef35b46d74d2323eddd0cc8cf1c0a50
parentbffe1c42220f0f5622239c365df06db8bd141504
avcodec/libopenjpegenc: Set numresolutions by default to a value that is not too large

Fixes issues with libopenjpeg 2.1

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e9394ca63dab3434bc8e869de019ecd86cb604ac)
libavcodec/libopenjpegenc.c