[FFmpeg-devel] [PATCH 5/5] libxvid: Reduce the size of an array
Timothy Gu
timothygu99 at gmail.com
Wed Jul 31 04:42:32 CEST 2013
It is not possible to have a plugin[] array with 5 or more elements.
---
Changed according to newer versions of other patches
libavcodec/libxvid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index edf5f43..8945c28 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;
--
1.8.1.2
More information about the ffmpeg-devel
mailing list