aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2013-07-30 19:42:32 -0700
committerMichael Niedermayer <michaelni@gmx.at>2013-08-05 15:11:17 +0200
commit3217a706e27c1fc1bfcb74b6eb8b20ae105e683c (patch)
tree1122f37c2babac15a2b87e356857053669c636cf
parent1ccc2157ff46ddab44357f2ca2f312ffc593ed22 (diff)
downloadffmpeg-3217a706e27c1fc1bfcb74b6eb8b20ae105e683c.tar.gz
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 <michaelni@gmx.at>
-rw-r--r--libavcodec/libxvid.c2
1 files changed, 1 insertions, 1 deletions
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;