diff options
author | Timothy Gu <timothygu99@gmail.com> | 2013-07-31 06:42:32 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-05 17:11:17 +0400 |
commit | 3217a706e27c1fc1bfcb74b6eb8b20ae105e683c (patch) | |
tree | 1122f37c2babac15a2b87e356857053669c636cf /libavcodec/libxvid.c | |
parent | 1ccc2157ff46ddab44357f2ca2f312ffc593ed22 (diff) |
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>
Diffstat (limited to 'libavcodec/libxvid.c')
-rw-r--r-- | libavcodec/libxvid.c | 2 |
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; |