ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ea66f252a8
commit
c696a863d4
@ -66,7 +66,7 @@ static av_always_inline av_const uint32_t bswap_32(uint32_t x)
|
|||||||
: "=r"(x) : "0"(x));
|
: "=r"(x) : "0"(x));
|
||||||
#elif defined(HAVE_ARMV6)
|
#elif defined(HAVE_ARMV6)
|
||||||
asm("rev %0, %0" : "+r"(x));
|
asm("rev %0, %0" : "+r"(x));
|
||||||
#elif defined(ARCH_ARM)
|
#elif defined(ARCH_ARMV4L)
|
||||||
uint32_t t;
|
uint32_t t;
|
||||||
asm ("eor %1, %0, %0, ror #16 \n\t"
|
asm ("eor %1, %0, %0, ror #16 \n\t"
|
||||||
"bic %1, %1, #0xFF0000 \n\t"
|
"bic %1, %1, #0xFF0000 \n\t"
|
||||||
|
Loading…
Reference in New Issue
Block a user