summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorSteve L'Homme <slhomme@divxcorp.com>2006-03-24 01:33:22 +0000
committerMåns Rullgård <mans@mansr.com>2006-03-24 01:33:22 +0000
commitdc2bf20e27a2541cae850d4a58b26c437112745a (patch)
treed0210d45348bd738ffd29382e68398ef44e36408 /libavcodec/dsputil.h
parent96277634831fccd2041a75d82038ead0900a4900 (diff)
ST16 is undefined for non-GNU compilers.
Patch by Steve Lhomme <slhomme at divxcorp com> Originally committed as revision 5206 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 626e6d2d13..a7c83f00e5 100644
--- 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__ */