avcodec/jpeg2000dec: Fix division by zero in jp2_find_codestream()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 24 Jul 2017 14:43:24 +0000 (16:43 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Jul 2017 15:06:29 +0000 (17:06 +0200)
commit1b00600319506a9bd81b114d2b374051dc1a29a6
treecf3ed6556e09a9d6bfe30ccff61c9c80b6255a49
parent74c1c22d7f0d25f527ed2ebf62493be5ad52c972
avcodec/jpeg2000dec: Fix division by zero in jp2_find_codestream()

Fixes: 2707/clusterfuzz-testcase-minimized-5179636394754048

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeg2000dec.c