diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-06 12:47:23 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-06 12:53:02 -0800 |
commit | a9c5b6f6020c3fad6bf59985518e08453e002cdf (patch) | |
tree | a9e279ed5a73ac1339c36e56c61b58ea07608d25 /libavutil | |
parent | 6193ff68549ecbaf1a4d63a0e06964ec580ac620 (diff) | |
download | ffmpeg-a9c5b6f6020c3fad6bf59985518e08453e002cdf.tar.gz |
cpu: initialize mask to -1, so that by default, optimizations are used.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/cpu.c b/libavutil/cpu.c index e72f7231a8..c44075be29 100644 --- a/libavutil/cpu.c +++ b/libavutil/cpu.c @@ -19,7 +19,7 @@ #include "cpu.h" #include "config.h" -static int cpuflags_mask, checked; +static int cpuflags_mask = -1, checked; int av_get_cpu_flags(void) { |