]> granicus.if.org Git - libvpx/commitdiff
vp8: [loongson] fix bug of type conflict.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Tue, 23 Jan 2018 03:33:25 +0000 (11:33 +0800)
committerShiyou Yin <yinshiyou-hf@loongson.cn>
Tue, 23 Jan 2018 06:28:55 +0000 (14:28 +0800)
In commit 577d4fa79, int8_t was used to replace char. This will result in a
compilation error, for int8_t was typedefined to signed char, but not char.

Change-Id: I5c9837e01b0b58688a7741f5c9a99a76ca887e4a

vp8/common/mips/mmi/idct_blk_mmi.c

index f6020ab468825c1b6c98e5e854b60848fa2b5e4f..3f69071748a61630623d8d86bd6fad53054bd947 100644 (file)
@@ -12,7 +12,7 @@
 #include "vpx_mem/vpx_mem.h"
 
 void vp8_dequant_idct_add_y_block_mmi(int16_t *q, int16_t *dq, uint8_t *dst,
-                                      int stride, int8_t *eobs) {
+                                      int stride, char *eobs) {
   int i, j;
 
   for (i = 0; i < 4; i++) {
@@ -33,8 +33,7 @@ void vp8_dequant_idct_add_y_block_mmi(int16_t *q, int16_t *dq, uint8_t *dst,
 }
 
 void vp8_dequant_idct_add_uv_block_mmi(int16_t *q, int16_t *dq, uint8_t *dstu,
-                                       uint8_t *dstv, int stride,
-                                       int8_t *eobs) {
+                                       uint8_t *dstv, int stride, char *eobs) {
   int i, j;
 
   for (i = 0; i < 2; i++) {