From 3217a706e27c1fc1bfcb74b6eb8b20ae105e683c Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Tue, 30 Jul 2013 19:42:32 -0700 Subject: libxvid: Reduce the size of an array It is not possible to have a plugin[] array with 5 or more elements. Signed-off-by: Michael Niedermayer --- libavcodec/libxvid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/libxvid.c') diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c index 680ec6a3fd..d2190c8cec 100644 --- a/libavcodec/libxvid.c +++ b/libavcodec/libxvid.c @@ -364,7 +364,7 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx) { xvid_plugin_ssim_t ssim = { 0 }; xvid_gbl_init_t xvid_gbl_init = { 0 }; xvid_enc_create_t xvid_enc_create = { 0 }; - xvid_enc_plugin_t plugins[7]; + xvid_enc_plugin_t plugins[4]; x->twopassfd = -1; -- cgit v1.2.1