projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
145061a
)
Fix build failure with fast_unaligned and non-gcc-compatible compilers
author
Måns Rullgård
<mans@mansr.com>
Tue, 2 Mar 2010 03:16:24 +0000
(
03:16
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Tue, 2 Mar 2010 03:16:24 +0000
(
03:16
+0000)
Originally committed as revision 22142 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/intreadwrite.h
patch
|
blob
|
history
diff --git
a/libavutil/intreadwrite.h
b/libavutil/intreadwrite.h
index
443c7b2
..
c8026f0
100644
(file)
--- 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