Mercurial > libavcodec.hg
diff atrac3.c @ 5513:9f8219a3b86f libavcodec
use get_bits1(..) instead get_bits(.., 1)
author | alex |
---|---|
date | Thu, 09 Aug 2007 00:13:31 +0000 |
parents | 2c98d63a8956 |
children | c2ab2ac31edb |
line wrap: on
line diff
--- a/atrac3.c Wed Aug 08 23:58:23 2007 +0000 +++ b/atrac3.c Thu Aug 09 00:13:31 2007 +0000 @@ -363,7 +363,7 @@ 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 @@ /* 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++) {