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)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 26 Jun 2016 16:08:04 +0000 (18:08 +0200)
commite9394ca63dab3434bc8e869de019ecd86cb604ac
tree8c0daa92fc1f5c700047f48cccc54316fd05d01e
parentc142dc203e2590ef0addda30afafb5ce41a13a96
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>
libavcodec/libopenjpegenc.c