Originally committed as revision 22142 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -194,7 +194,7 @@ union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias;
|
| 194 | 194 |
#elif HAVE_FAST_UNALIGNED |
| 195 | 195 |
|
| 196 | 196 |
# define AV_RN(s, p) (((const av_alias##s*)(p))->u##s) |
| 197 |
-# define AV_WN(s, p, v) (((uint##s##_t*)(p))->u##s = (v)) |
|
| 197 |
+# define AV_WN(s, p, v) (((av_alias##s*)(p))->u##s = (v)) |
|
| 198 | 198 |
|
| 199 | 199 |
#else |
| 200 | 200 |
|