From a9c5b6f6020c3fad6bf59985518e08453e002cdf Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Tue, 6 Mar 2012 12:47:23 -0800 Subject: [PATCH] cpu: initialize mask to -1, so that by default, optimizations are used. --- libavutil/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {