aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorShivraj Patil <shivraj.patil@imgtec.com>2015-04-09 19:54:04 +0530
committerMichael Niedermayer <michaelni@gmx.at>2015-04-10 13:03:44 +0200
commit578d99e7c6d1d8d3eabd24501b6758797e14fb33 (patch)
tree123ae89fc67b8c278b15554b9f1af8080fea76b2 /libavutil
parent7fdd31421cfe670d0ee37200c6c9739acd1168be (diff)
downloadffmpeg-578d99e7c6d1d8d3eabd24501b6758797e14fb33.tar.gz
avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/mips/intreadwrite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/mips/intreadwrite.h b/libavutil/mips/intreadwrite.h
index 9ba0491372..32084f68f6 100644
--- a/libavutil/mips/intreadwrite.h
+++ b/libavutil/mips/intreadwrite.h
@@ -24,7 +24,7 @@
#include <stdint.h>
#include "config.h"
-#if ARCH_MIPS64 && HAVE_INLINE_ASM
+#if ARCH_MIPS64 && HAVE_INLINE_ASM && !HAVE_MIPS64R6
#define AV_RN32 AV_RN32
static av_always_inline uint32_t AV_RN32(const void *p)
@@ -41,6 +41,6 @@ static av_always_inline uint32_t AV_RN32(const void *p)
return v;
}
-#endif /* ARCH_MIPS64 && HAVE_INLINE_ASM */
+#endif /* ARCH_MIPS64 && HAVE_INLINE_ASM && !HAVE_MIPS64R6 */
#endif /* AVUTIL_MIPS_INTREADWRITE_H */