[FFmpeg-cvslog] Merge commit '85e10c0a9321bfe0d2afe0f3983ab6a8df6e3fba'
Mark Thompson
git at videolan.org
Fri Jan 26 00:46:53 EET 2018
ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Thu Jan 25 22:45:45 2018 +0000| [8e9be8ffba03d3327ca1aaf0b1a5f3e2458ea285] | committer: Mark Thompson
Merge commit '85e10c0a9321bfe0d2afe0f3983ab6a8df6e3fba'
* commit '85e10c0a9321bfe0d2afe0f3983ab6a8df6e3fba':
intreadwrite: Use __unaligned in MSVC for ARM64 as well
Merged-by: Mark Thompson <sw at jkqxz.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8e9be8ffba03d3327ca1aaf0b1a5f3e2458ea285
---
libavutil/intreadwrite.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/intreadwrite.h b/libavutil/intreadwrite.h
index 0c0309b4a7..67c763b135 100644
--- a/libavutil/intreadwrite.h
+++ b/libavutil/intreadwrite.h
@@ -224,7 +224,7 @@ union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias;
# define AV_RN(s, p) (((const union unaligned_##s *) (p))->l)
# define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v))
-#elif defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_X64)) && AV_HAVE_FAST_UNALIGNED
+#elif defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_X64) || defined(_M_ARM64)) && AV_HAVE_FAST_UNALIGNED
# define AV_RN(s, p) (*((const __unaligned uint##s##_t*)(p)))
# define AV_WN(s, p, v) (*((__unaligned uint##s##_t*)(p)) = (v))
======================================================================
More information about the ffmpeg-cvslog
mailing list