summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-22 23:57:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-23 00:18:24 +0200
commit77304cf3523cbeec56a29749fea5c21e610be644 (patch)
treea45c902410278f4aba34e920a610a350e1349eab
parent005e81d6cff4071847fe6e6b6de3b5d709c76de9 (diff)
avcodec: dct/rdft only support float mode, skip their contents for fixed point
-rw-r--r--libavcodec/dct.h2
-rw-r--r--libavcodec/rdft.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dct.h b/libavcodec/dct.h
index 9238449db3..717f21bef3 100644
--- a/libavcodec/dct.h
+++ b/libavcodec/dct.h
@@ -21,7 +21,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_DCT_H
+#if !defined(AVCODEC_DCT_H) && (!defined(FFT_FLOAT) || FFT_FLOAT)
#define AVCODEC_DCT_H
#include <stdint.h>
diff --git a/libavcodec/rdft.h b/libavcodec/rdft.h
index 5fb03232a1..37c40e7c80 100644
--- a/libavcodec/rdft.h
+++ b/libavcodec/rdft.h
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_RDFT_H
+#if !defined(AVCODEC_RDFT_H) && (!defined(FFT_FLOAT) || FFT_FLOAT)
#define AVCODEC_RDFT_H
#include "config.h"