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:
9627763
)
ST16 is undefined for non-GNU compilers.
author
Steve L'Homme
<slhomme@divxcorp.com>
Fri, 24 Mar 2006 01:33:22 +0000
(
01:33
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Fri, 24 Mar 2006 01:33:22 +0000
(
01:33
+0000)
Patch by Steve Lhomme <slhomme at divxcorp com>
Originally committed as revision 5206 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dsputil.h
patch
|
blob
|
history
diff --git
a/libavcodec/dsputil.h
b/libavcodec/dsputil.h
index
626e6d2
..
a7c83f0
100644
(file)
--- a/
libavcodec/dsputil.h
+++ b/
libavcodec/dsputil.h
@@
-543,6
+543,7
@@
struct unaligned_16 { uint16_t l; } __attribute__((packed));
#define LD32(a) (*((uint32_t*)(a)))
#define LD64(a) (*((uint64_t*)(a)))
+#define ST16(a, b) *((uint16_t*)(a)) = (b)
#define ST32(a, b) *((uint32_t*)(a)) = (b)
#endif /* !__GNUC__ */