ARM: Kill warning in bswap_32()
authorMåns Rullgård <mans@mansr.com>
Mon, 20 Oct 2008 00:03:25 +0000 (00:03 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 20 Oct 2008 00:03:25 +0000 (00:03 +0000)
Originally committed as revision 15648 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/bswap.h

index 8e6b1b20f152107e47e532ebc5df939843c16e21..3d0a2a7c8d5c01fc326358f401b53f7a2ae487c2 100644 (file)
@@ -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"