projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
788627d
)
Add AV_COPY32
author
Måns Rullgård
<mans@mansr.com>
Fri, 29 Jan 2010 03:26:17 +0000
(
03:26
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Fri, 29 Jan 2010 03:26:17 +0000
(
03:26
+0000)
Originally committed as revision 21524 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/intreadwrite.h
patch
|
blob
|
history
diff --git
a/libavutil/intreadwrite.h
b/libavutil/intreadwrite.h
index
bdc3c43
..
81ba82d
100644
(file)
--- 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