summaryrefslogtreecommitdiff
path: root/libavcodec/wma_freqs.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-04 19:46:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-04 19:46:06 +0200
commit5a20f1885d3b521afc8c63734cff724da0a87815 (patch)
tree0821c4d69bded8920fb886d2937023d758fd59ac /libavcodec/wma_freqs.c
parent91a8b933fb6d9bf41f5885793bfcc0cb24de6100 (diff)
parentf20518568a77a6138fc74021ce56013ab72907ba (diff)
Merge commit 'f20518568a77a6138fc74021ce56013ab72907ba'
* commit 'f20518568a77a6138fc74021ce56013ab72907ba': build: Split WMA frequencies into a separate object file Conflicts: configure libavcodec/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wma_freqs.c')
-rw-r--r--libavcodec/wma_freqs.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/libavcodec/wma_freqs.c b/libavcodec/wma_freqs.c
new file mode 100644
index 0000000000..03a283fca5
--- /dev/null
+++ b/libavcodec/wma_freqs.c
@@ -0,0 +1,28 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg 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.
+ *
+ * FFmpeg 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 FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include <stdint.h>
+
+#include "wma_freqs.h"
+
+const uint16_t ff_wma_critical_freqs[25] = {
+ 100, 200, 300, 400, 510, 630, 770, 920,
+ 1080, 1270, 1480, 1720, 2000, 2320, 2700, 3150,
+ 3700, 4400, 5300, 6400, 7700, 9500, 12000, 15500,
+ 24500,
+};