From 8ca6e523a604db69c151b20627fb3bcc52118392 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 6 Mar 2012 19:07:10 +0100 Subject: wma: Refactor common code to fix standalone compilation of WMA lossless decoder. --- libavcodec/wma_common.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libavcodec/wma_common.h (limited to 'libavcodec/wma_common.h') 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 */ -- cgit v1.2.3