[FFmpeg-cvslog] r22142 - trunk/libavutil/intreadwrite.h

mru subversion
Tue Mar 2 04:16:24 CET 2010


Author: mru
Date: Tue Mar  2 04:16:24 2010
New Revision: 22142

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

Modified:
   trunk/libavutil/intreadwrite.h

Modified: trunk/libavutil/intreadwrite.h
==============================================================================
--- trunk/libavutil/intreadwrite.h	Tue Mar  2 03:24:37 2010	(r22141)
+++ trunk/libavutil/intreadwrite.h	Tue Mar  2 04:16:24 2010	(r22142)
@@ -194,7 +194,7 @@ union unaligned_16 { uint16_t l; } __att
 #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
 



More information about the ffmpeg-cvslog mailing list