Commit ba8c0ff7 authored by mru's avatar mru

ST16 is undefined for non-GNU compilers.

Patch by Steve Lhomme <slhomme at divxcorp com>


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5206 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 352932de
...@@ -543,6 +543,7 @@ struct unaligned_16 { uint16_t l; } __attribute__((packed)); ...@@ -543,6 +543,7 @@ struct unaligned_16 { uint16_t l; } __attribute__((packed));
#define LD32(a) (*((uint32_t*)(a))) #define LD32(a) (*((uint32_t*)(a)))
#define LD64(a) (*((uint64_t*)(a))) #define LD64(a) (*((uint64_t*)(a)))
#define ST16(a, b) *((uint16_t*)(a)) = (b)
#define ST32(a, b) *((uint32_t*)(a)) = (b) #define ST32(a, b) *((uint32_t*)(a)) = (b)
#endif /* !__GNUC__ */ #endif /* !__GNUC__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment