From cee4bb894d0e9e4a8f9fca1ebdc5aa8330eaa366 Mon Sep 17 00:00:00 2001 From: Sascha Sommer Date: Fri, 12 Jun 2009 15:21:43 +0000 Subject: Move frame len bits calculation to ff_wma_get_frame_len_bits so that it can be reused for wmapro Originally committed as revision 19167 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/wma.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/wma.h') diff --git a/libavcodec/wma.h b/libavcodec/wma.h index 213eff6db4..50dcdf0a41 100644 --- a/libavcodec/wma.h +++ b/libavcodec/wma.h @@ -143,6 +143,8 @@ extern const float ff_wma_lsp_codebook[NB_LSP_COEFS][16]; extern const uint32_t ff_wma_scale_huffcodes[121]; extern const uint8_t ff_wma_scale_huffbits[121]; +int av_cold ff_wma_get_frame_len_bits(int sample_rate, int version, + unsigned int decode_flags); int ff_wma_init(AVCodecContext * avctx, int flags2); int ff_wma_total_gain_to_bits(int total_gain); int ff_wma_end(AVCodecContext *avctx); -- cgit v1.2.3