summaryrefslogtreecommitdiff
path: root/libavcodec/wma_common.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-03-06 19:07:10 +0100
committerDiego Biurrun <diego@biurrun.de>2012-03-07 09:36:05 +0100
commit8ca6e523a604db69c151b20627fb3bcc52118392 (patch)
treec0f0d2b9150762825e4f8143b234a7fb036d02a6 /libavcodec/wma_common.h
parent3c715383ea7012ac69507e6b9189c98675c77461 (diff)
wma: Refactor common code to fix standalone compilation of WMA lossless decoder.
Diffstat (limited to 'libavcodec/wma_common.h')
-rw-r--r--libavcodec/wma_common.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/wma_common.h b/libavcodec/wma_common.h
new file mode 100644
index 0000000000..cc4e38e149
--- /dev/null
+++ b/libavcodec/wma_common.h
@@ -0,0 +1,29 @@
+/*
+ * common code shared by all WMA variants
+ *
+ * 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
+ */
+
+#ifndef AVCODEC_WMA_COMMON_H
+#define AVCODEC_WMA_COMMON_H
+
+#include "libavutil/attributes.h"
+
+int av_cold ff_wma_get_frame_len_bits(int sample_rate, int version,
+ unsigned int decode_flags);
+
+#endif /* AVCODEC_WMA_COMMON_H */