diff options
author | Martin Storsjö <martin@martin.st> | 2016-08-01 10:04:42 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-08-02 11:33:23 +0300 |
commit | f79d847400d218cfd0b95f10358fe6e65ec3c9c4 (patch) | |
tree | 358ae373ff66e2f61e68bdcfb8491d7bc63bc6f2 /avplay.c | |
parent | 230b1c070baa3b6d4bd590426a365b843d60ff50 (diff) | |
download | ffmpeg-f79d847400d218cfd0b95f10358fe6e65ec3c9c4.tar.gz |
intreadwrite: Use the __unaligned keyword on MSVC for ARM and x86_64
AV_WN64 is meant for unaligned data, but the existing av_alias* unions
(without a definition for the av_alias attribute - we don't have one
for MSVC) indicate to the compiler that they would have sufficient
alignment for normal access, i.e. the compiler is free to assume
8 byte alignment.
On ARM, this makes sure that AV_WN64 (or two consecutive AV_WN32) is
done with two str instructions instead of one strd.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'avplay.c')
0 files changed, 0 insertions, 0 deletions