summaryrefslogtreecommitdiff
path: root/libavutil/bswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/bswap.h')
-rw-r--r--libavutil/bswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/bswap.h b/libavutil/bswap.h
index 8e6b1b20f1..3d0a2a7c8d 100644
--- a/libavutil/bswap.h
+++ b/libavutil/bswap.h
@@ -68,7 +68,7 @@ static av_always_inline av_const uint32_t bswap_32(uint32_t x)
"bic %1, %1, #0xFF0000 \n\t"
"mov %0, %0, ror #8 \n\t"
"eor %0, %0, %1, lsr #8 \n\t"
- : "+r"(x), "+r"(t));
+ : "+r"(x), "=&r"(t));
#elif defined(ARCH_BFIN)
unsigned tmp;
__asm__("%1 = %0 >> 8 (V); \n\t"