aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-01-23 11:03:49 +0200
committerMartin Storsjö <martin@martin.st>2013-01-23 11:17:32 +0200
commit2e4130037cf3b64921976fbff4579bda0e91dc87 (patch)
treecd66581d246d44916ceea786b59775f956f84020
parentbaf35bb4bc4fe7a2a4113c50989d11dd9ef81e76 (diff)
downloadffmpeg-2e4130037cf3b64921976fbff4579bda0e91dc87.tar.gz
float_dsp: Include config.h for redefining restrict
This makes sure that the restrict keyword is mapped to whatever keyword the compiler prefers/supports. This fixes building on MSVC (and possibly on GCC 2.x as well). Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavutil/float_dsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/float_dsp.h b/libavutil/float_dsp.h
index f2b90a4848..b215dad42f 100644
--- a/libavutil/float_dsp.h
+++ b/libavutil/float_dsp.h
@@ -19,6 +19,8 @@
#ifndef AVUTIL_FLOAT_DSP_H
#define AVUTIL_FLOAT_DSP_H
+#include "config.h"
+
typedef struct AVFloatDSPContext {
/**
* Calculate the product of two vectors of floats and store the result in