summaryrefslogtreecommitdiff
path: root/libavcodec/dct32_fixed.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-05-17 11:48:28 +0100
committerMans Rullgard <mans@mansr.com>2011-05-17 13:57:23 +0100
commit6f2309ed2e0c5c02ab417f3f0acad23e86411079 (patch)
tree57844dca7f956adb188092118e91d558cd76f99d /libavcodec/dct32_fixed.c
parent1362a291c971ba2c46c08f0533265b294030de27 (diff)
dct: build dct32 as separate object files
This builds the float and fixed-point versions of dct32 separately instead of #including the file in dct.c and mpegaudiodec.c. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dct32_fixed.c')
-rw-r--r--libavcodec/dct32_fixed.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/libavcodec/dct32_fixed.c b/libavcodec/dct32_fixed.c
new file mode 100644
index 0000000000..7eb9dc1a53
--- /dev/null
+++ b/libavcodec/dct32_fixed.c
@@ -0,0 +1,20 @@
+/*
+ * This file is part of Libav.
+ *
+ * Libav is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * Libav is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Libav; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#define DCT32_FLOAT 0
+#include "dct32.c"