projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3821c00
)
lavu/cpu: disable MMX warning on non x86 platforms
author
Clément Bœsch
<u@pkh.me>
Wed, 28 Jun 2017 13:20:45 +0000
(15:20 +0200)
committer
Clément Bœsch
<u@pkh.me>
Thu, 29 Jun 2017 16:00:58 +0000
(18:00 +0200)
We have AV_CPU_FLAG_ARMV8 == AV_CPU_FLAG_SSE3 which causes a trigger of
this MMX warning on AArch64.
libavutil/cpu.c
patch
|
blob
|
history
diff --git
a/libavutil/cpu.c
b/libavutil/cpu.c
index
16e0c92
..
a22da0f
100644
(file)
--- a/
libavutil/cpu.c
+++ b/
libavutil/cpu.c
@@
-61,7
+61,8
@@
static int get_cpu_flags(void)
}
void av_force_cpu_flags(int arg){
- if ( (arg & ( AV_CPU_FLAG_3DNOW |
+ if (ARCH_X86 &&
+ (arg & ( AV_CPU_FLAG_3DNOW |
AV_CPU_FLAG_3DNOWEXT |
AV_CPU_FLAG_MMXEXT |
AV_CPU_FLAG_SSE |