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__ */