From 3217a706e27c1fc1bfcb74b6eb8b20ae105e683c Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Tue, 30 Jul 2013 19:42:32 -0700
Subject: [PATCH] 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>
---
 libavcodec/libxvid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index 680ec6a3fd9..d2190c8cecf 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;
 
-- 
GitLab