summaryrefslogtreecommitdiff
path: root/libavcodec/wma.h
diff options
context:
space:
mode:
authorSascha Sommer <saschasommer@freenet.de>2009-06-12 15:21:43 +0000
committerSascha Sommer <saschasommer@freenet.de>2009-06-12 15:21:43 +0000
commitcee4bb894d0e9e4a8f9fca1ebdc5aa8330eaa366 (patch)
tree8f6a5fff4d82542334c020c0b2df58e40f4ef0b0 /libavcodec/wma.h
parent8e6e9bacc4fd983741e4589bf5dd366c01ac4e15 (diff)
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
Diffstat (limited to 'libavcodec/wma.h')
-rw-r--r--libavcodec/wma.h2
1 files changed, 2 insertions, 0 deletions
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);