cpu: initialize mask to -1, so that by default, optimizations are used.

pull/3/merge
Ronald S. Bultje 13 years ago
parent 6193ff6854
commit a9c5b6f602
  1. 2
      libavutil/cpu.c

@ -19,7 +19,7 @@
#include "cpu.h" #include "cpu.h"
#include "config.h" #include "config.h"
static int cpuflags_mask, checked; static int cpuflags_mask = -1, checked;
int av_get_cpu_flags(void) int av_get_cpu_flags(void)
{ {

Loading…
Cancel
Save