aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-16 15:51:50 +0000
committerMåns Rullgård <mans@mansr.com>2009-08-16 15:51:50 +0000
commite6956a6e4823015b9985789196525098e496166d (patch)
treec4ffd699d75eccd91172648c2fef97406e9f7fcd
parent7f6d9b30890161d40b4bf8917f5cff7517029423 (diff)
downloadffmpeg-e6956a6e4823015b9985789196525098e496166d.tar.gz
ARM: first value loaded in AV_RN64 needs to be early-clobber
Originally committed as revision 19656 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavutil/arm/intreadwrite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/arm/intreadwrite.h b/libavutil/arm/intreadwrite.h
index de2e5532e6..c0172ac16a 100644
--- a/libavutil/arm/intreadwrite.h
+++ b/libavutil/arm/intreadwrite.h
@@ -58,7 +58,7 @@ static inline uint64_t AV_RN64(const void *p)
union { uint64_t v; uint32_t hl[2]; } v;
__asm__ ("ldr %0, %2 \n\t"
"ldr %1, %3 \n\t"
- : "=r"(v.hl[0]), "=r"(v.hl[1])
+ : "=&r"(v.hl[0]), "=r"(v.hl[1])
: "m"(*(const uint32_t*)p), "m"(*((const uint32_t*)p+1)));
return v.v;
}