Commit 757ea6f9 authored by mru's avatar mru

Fix build failure with fast_unaligned and non-gcc-compatible compilers

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22142 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ba4fe2b3
...@@ -194,7 +194,7 @@ union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias; ...@@ -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
......
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