1 https://sourceforge.net/p/mjpeg/bugs/143/
2 https://bugs.gentoo.org/927103
3 --- a/mpeg2enc/quantize_x86.c
4 +++ b/mpeg2enc/quantize_x86.c
6 #include "quantize_precomp.h"
7 #include "quantize_ref.h"
9 -int quant_weight_coeff_sum_mmx (int16_t *blk, uint16_t *i_quant_mat );
10 +int32_t quant_weight_coeff_sum_mmx(int16_t *src, int16_t *i_quant_mat);
12 void iquantize_non_intra_m1_mmx(int16_t *src, int16_t *dst, uint16_t *qmat);
13 void iquantize_non_intra_m2_mmx(int16_t *src, int16_t *dst, uint16_t *qmat);
14 --- a/lavtools/lav_io.c
15 +++ b/lavtools/lav_io.c
20 -extern int AVI_errno;
21 +extern long int AVI_errno;
23 static char video_format=' ';
24 static int internal_error=0;