summaryrefslogtreecommitdiff
path: root/media-video/mjpegtools/files/mjpegtools-2.2.1-lto.patch
blob: b4cf1e14275fa8f99faed501a32cb31187781d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
https://sourceforge.net/p/mjpeg/bugs/143/
https://bugs.gentoo.org/927103
--- a/mpeg2enc/quantize_x86.c
+++ b/mpeg2enc/quantize_x86.c
@@ -41,7 +41,7 @@
 #include "quantize_precomp.h"
 #include "quantize_ref.h"
 					
-int quant_weight_coeff_sum_mmx (int16_t *blk, uint16_t *i_quant_mat );
+int32_t quant_weight_coeff_sum_mmx(int16_t *src, int16_t *i_quant_mat);
 
 void iquantize_non_intra_m1_mmx(int16_t *src, int16_t *dst, uint16_t *qmat);
 void iquantize_non_intra_m2_mmx(int16_t *src, int16_t *dst, uint16_t *qmat);
--- a/lavtools/lav_io.c
+++ b/lavtools/lav_io.c
@@ -34,7 +34,7 @@
 #include <libdv/dv.h>
 #endif

-extern int AVI_errno;
+extern long int AVI_errno;

 static char video_format=' ';
 static int  internal_error=0;