diff options
author | Steve L'Homme <slhomme@divxcorp.com> | 2006-03-24 01:33:22 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-03-24 01:33:22 +0000 |
commit | dc2bf20e27a2541cae850d4a58b26c437112745a (patch) | |
tree | d0210d45348bd738ffd29382e68398ef44e36408 | |
parent | 96277634831fccd2041a75d82038ead0900a4900 (diff) | |
download | ffmpeg-dc2bf20e27a2541cae850d4a58b26c437112745a.tar.gz |
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
-rw-r--r-- | libavcodec/dsputil.h | 1 |
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__ */ |