diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-08-09 00:13:31 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-08-09 00:13:31 +0000 |
commit | 5fc32c275efb591c5d40d2eb3902225c32494e65 (patch) | |
tree | 388f5bdf2cabe6b493335b2c4f4b9ea1fdbe109c /libavcodec/atrac3.c | |
parent | b6c748edbad9fb8a854f758553cfc8e5a1bbdb9c (diff) | |
download | ffmpeg-5fc32c275efb591c5d40d2eb3902225c32494e65.tar.gz |
use get_bits1(..) instead get_bits(.., 1)
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/atrac3.c')
-rw-r--r-- | libavcodec/atrac3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index 88d31d4ab1..0b1400712b 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -363,7 +363,7 @@ static int decodeSpectrum (GetBitContext *gb, float *pOut) float SF; numSubbands = get_bits(gb, 5); // number of coded subbands - codingMode = get_bits(gb, 1); // coding Mode: 0 - VLC/ 1-CLC + codingMode = get_bits1(gb); // coding Mode: 0 - VLC/ 1-CLC /* Get the VLC selector table for the subbands, 0 means not coded. */ for (cnt = 0; cnt <= numSubbands; cnt++) @@ -811,7 +811,7 @@ static int decodeFrame(ATRAC3Context *q, uint8_t* databuf) /* Fill the Weighting coeffs delay buffer */ memmove(q->weighting_delay,&(q->weighting_delay[2]),4*sizeof(int)); - q->weighting_delay[4] = get_bits(&q->gb,1); + q->weighting_delay[4] = get_bits1(&q->gb); q->weighting_delay[5] = get_bits(&q->gb,3); for (i = 0; i < 4; i++) { |