Index: source/row_mips.cc |
diff --git a/source/row_mips.cc b/source/row_mips.cc |
index 2c55b786b2a035f270059cc4f16d26696f231b02..ca6ecce94fa25c791ee36e6bac0a8a7b19c38156 100644 |
--- a/source/row_mips.cc |
+++ b/source/row_mips.cc |
@@ -498,8 +498,8 @@ void MirrorRow_DSPR2(const uint8* src, uint8* dst, int width) { |
void MirrorUVRow_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, |
int width) { |
- int x = 0; |
- int y = 0; |
+ int x; |
+ int y; |
__asm__ __volatile__ ( |
".set push \n" |
".set noreorder \n" |
@@ -579,7 +579,7 @@ void MirrorUVRow_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, |
[dst_u] "+r" (dst_u), |
[dst_v] "+r" (dst_v), |
[x] "=&r" (x), |
- [y] "+r" (y) |
+ [y] "=&r" (y) |
: [width] "r" (width) |
: "t0", "t1", "t2", "t3", "t4", |
"t5", "t7", "t8", "t9" |