diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-02 03:16:24 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-02 03:16:24 +0000 |
commit | 3d7b94ba5ad5ced6df7c0a0cb7fc6dca36a33ab6 (patch) | |
tree | 66b3a8a8da87b863281e6226b8f45c0202a77ca0 | |
parent | 145061a1769d5541a5f1e9efd186717eac51c75d (diff) | |
download | ffmpeg-3d7b94ba5ad5ced6df7c0a0cb7fc6dca36a33ab6.tar.gz |
Fix build failure with fast_unaligned and non-gcc-compatible compilers
Originally committed as revision 22142 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/intreadwrite.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/intreadwrite.h b/libavutil/intreadwrite.h index 443c7b255f..c8026f0872 100644 --- a/libavutil/intreadwrite.h +++ b/libavutil/intreadwrite.h @@ -194,7 +194,7 @@ union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias; #elif HAVE_FAST_UNALIGNED # 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 |