mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Fix build failure with fast_unaligned and non-gcc-compatible compilers
Originally committed as revision 22142 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
145061a176
commit
3d7b94ba5a
@ -194,7 +194,7 @@ union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias;
|
|||||||
#elif HAVE_FAST_UNALIGNED
|
#elif HAVE_FAST_UNALIGNED
|
||||||
|
|
||||||
# define AV_RN(s, p) (((const av_alias##s*)(p))->u##s)
|
# define AV_RN(s, p) (((const av_alias##s*)(p))->u##s)
|
||||||
# define AV_WN(s, p, v) (((uint##s##_t*)(p))->u##s = (v))
|
# define AV_WN(s, p, v) (((av_alias##s*)(p))->u##s = (v))
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user