From dc2bf20e27a2541cae850d4a58b26c437112745a Mon Sep 17 00:00:00 2001 From: Steve L'Homme Date: Fri, 24 Mar 2006 01:33:22 +0000 Subject: ST16 is undefined for non-GNU compilers. Patch by Steve Lhomme Originally committed as revision 5206 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/dsputil.h') 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__ */ -- cgit v1.2.3