diff options
author | Sascha Sommer <saschasommer@freenet.de> | 2009-06-20 09:05:28 +0000 |
---|---|---|
committer | Sascha Sommer <saschasommer@freenet.de> | 2009-06-20 09:05:28 +0000 |
commit | 9970c61b4b85e1df8e109aef2ba003673823e722 (patch) | |
tree | eeff3ab6f3fc7ca34b808877eda7fd93839bf60e /libavcodec/wmaenc.c | |
parent | 9ed3afcb7fe524dee315e800d17f94aa34b8d0b1 (diff) | |
download | ffmpeg-9970c61b4b85e1df8e109aef2ba003673823e722.tar.gz |
Introduce WMACoef typedef for decoded coefficients
and change default type to float so that the run level
decoding functionality can be shared with wmapro
Originally committed as revision 19231 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmaenc.c')
-rw-r--r-- | libavcodec/wmaenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c index 95e5929c7d..8386983014 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -186,7 +186,7 @@ static int encode_block(WMACodecContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], for(ch = 0; ch < s->nb_channels; ch++) { if (s->channel_coded[ch]) { - int16_t *coefs1; + WMACoef *coefs1; float *coefs, *exponents, mult; int i, n; @@ -264,7 +264,7 @@ static int encode_block(WMACodecContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], for(ch = 0; ch < s->nb_channels; ch++) { if (s->channel_coded[ch]) { int run, tindex; - int16_t *ptr, *eptr; + WMACoef *ptr, *eptr; tindex = (ch == 1 && s->ms_stereo); ptr = &s->coefs1[ch][0]; eptr = ptr + nb_coefs[ch]; |