1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
Timothy Gu 2013-07-30 19:42:32 -07:00 committed by Michael Niedermayer
parent 1ccc2157ff
commit 3217a706e2

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;