aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-29 03:26:17 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-29 03:26:17 +0000
commit6c88973a75bf5955ae185c0d2c23d02a85f86688 (patch)
tree92b710714b10f551c910e9013a4c36cee55a8068
parent788627dea6b353048883c87bedf0f8f93dee6787 (diff)
downloadffmpeg-6c88973a75bf5955ae185c0d2c23d02a85f86688.tar.gz
Add AV_COPY32
Originally committed as revision 21524 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavutil/intreadwrite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/intreadwrite.h b/libavutil/intreadwrite.h
index bdc3c4366a..81ba82de5c 100644
--- a/libavutil/intreadwrite.h
+++ b/libavutil/intreadwrite.h
@@ -408,6 +408,10 @@ struct unaligned_16 { uint16_t l; } __attribute__((packed));
#define AV_COPY(n, d, s) (*(uint##n##_t*)(d) = *(const uint##n##_t*)(s))
+#ifndef AV_COPY32
+# define AV_COPY32(d, s) AV_COPY(32, d, s)
+#endif
+
#ifndef AV_COPY64
# define AV_COPY64(d, s) AV_COPY(64, d, s)
#endif