diff options
author | Sascha Sommer <saschasommer@freenet.de> | 2009-06-12 16:00:26 +0000 |
---|---|---|
committer | Sascha Sommer <saschasommer@freenet.de> | 2009-06-12 16:00:26 +0000 |
commit | c0e9b2e84fecbc4cc8efb78ced8fd1eaafae7a9d (patch) | |
tree | 83a26fd3cf13798d5060747ffe60172c78a55758 /libavcodec/wma.h | |
parent | e8c7f81cf2b5fd78bb95fcf5a7a6e067407dba87 (diff) | |
download | ffmpeg-c0e9b2e84fecbc4cc8efb78ced8fd1eaafae7a9d.tar.gz |
Move run level decode functionality to ff_wma_run_level_decode
so that it can be reused for wmapro
Originally committed as revision 19171 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wma.h')
-rw-r--r-- | libavcodec/wma.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/wma.h b/libavcodec/wma.h index 50dcdf0a41..7ac85038d1 100644 --- a/libavcodec/wma.h +++ b/libavcodec/wma.h @@ -148,5 +148,11 @@ int av_cold ff_wma_get_frame_len_bits(int sample_rate, int version, int ff_wma_init(AVCodecContext * avctx, int flags2); int ff_wma_total_gain_to_bits(int total_gain); int ff_wma_end(AVCodecContext *avctx); +int ff_wma_run_level_decode(AVCodecContext* avctx, GetBitContext* gb, + VLC *vlc, + const uint16_t *level_table, const uint16_t *run_table, + int version, int16_t *ptr, int offset, + int num_coefs, int block_len, int frame_len_bits, + int coef_nb_bits); #endif /* AVCODEC_WMA_H */ |