mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
9627763483
commit
dc2bf20e27
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user