[FFmpeg-cvslog] cpu: initialize mask to -1, so that by default, optimizations are used.
Ronald S. Bultje
git at videolan.org
Wed Mar 7 03:37:20 CET 2012
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue Mar 6 12:47:23 2012 -0800| [a9c5b6f6020c3fad6bf59985518e08453e002cdf] | committer: Ronald S. Bultje
cpu: initialize mask to -1, so that by default, optimizations are used.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a9c5b6f6020c3fad6bf59985518e08453e002cdf
---
libavutil/cpu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index e72f723..c44075b 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)
{
More information about the ffmpeg-cvslog
mailing list