avcodec/ivi: Use av_image_check_size2()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Jul 2017 18:31:24 +0000 (20:31 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Jul 2017 18:36:13 +0000 (20:36 +0200)
commita82468514048fb87d9bf38689866bc3b9aaccd02
tree844461160b27fa82feb6b5d3987ab00c8e73cd02
parent341f01290c2353669ed2263f56e1a9f4c67cc597
avcodec/ivi: Use av_image_check_size2()

Fixes OOM
Fixes: 1514/clusterfuzz-testcase-minimized-6437666243477504

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