Browse Source

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>
tags/n2.1
Timothy Gu Michael Niedermayer 12 years ago
parent
commit
3217a706e2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libxvid.c

+ 1
- 1
libavcodec/libxvid.c View File

@@ -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