summaryrefslogtreecommitdiff
path: root/libavcodec/ivi.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-07-12 20:31:24 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-07-12 20:36:13 +0200
commita82468514048fb87d9bf38689866bc3b9aaccd02 (patch)
tree844461160b27fa82feb6b5d3987ab00c8e73cd02 /libavcodec/ivi.h
parent341f01290c2353669ed2263f56e1a9f4c67cc597 (diff)
downloadffmpeg-a82468514048fb87d9bf38689866bc3b9aaccd02.tar.gz
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>
Diffstat (limited to 'libavcodec/ivi.h')
-rw-r--r--libavcodec/ivi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ivi.h b/libavcodec/ivi.h
index 79b97d5c52..1427535547 100644
--- a/libavcodec/ivi.h
+++ b/libavcodec/ivi.h
@@ -322,8 +322,8 @@ int ff_ivi_dec_huff_desc(GetBitContext *gb, int desc_coded, int which_tab,
* @param[in] is_indeo4 flag signalling if it is Indeo 4 or not
* @return result code: 0 - OK
*/
-int ff_ivi_init_planes(IVIPlaneDesc *planes, const IVIPicConfig *cfg,
- int is_indeo4);
+int ff_ivi_init_planes(AVCodecContext *avctx, IVIPlaneDesc *planes,
+ const IVIPicConfig *cfg, int is_indeo4);
/**
* Initialize tile and macroblock descriptors.