Commit 3d7b94ba authored by Måns Rullgård's avatar Måns Rullgård

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

Originally committed as revision 22142 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 145061a1
...@@ -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