changeset 3217:d9eceb8313c2 libavcodec

ST16 is undefined for non-GNU compilers. Patch by Steve Lhomme <slhomme at divxcorp com>
author mru
date Fri, 24 Mar 2006 01:33:22 +0000
parents 4186eb8d29a1
children b2ffd9fb4153
files dsputil.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.h	Thu Mar 23 21:54:46 2006 +0000
+++ b/dsputil.h	Fri Mar 24 01:33:22 2006 +0000
@@ -543,6 +543,7 @@
 #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__ */