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>
pull/37/head
Timothy Gu 11 years ago committed by Michael Niedermayer
parent 1ccc2157ff
commit 3217a706e2
  1. 2
      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;

Loading…
Cancel
Save