Mercurial > libavcodec.hg
diff imc.c @ 5513:9f8219a3b86f libavcodec
use get_bits1(..) instead get_bits(.., 1)
author | alex |
---|---|
date | Thu, 09 Aug 2007 00:13:31 +0000 |
parents | 2b72f9bc4f06 |
children | dfdff1ca78a7 |
line wrap: on
line diff
--- a/imc.c Wed Aug 08 23:58:23 2007 +0000 +++ b/imc.c Thu Aug 09 00:13:31 2007 +0000 @@ -454,7 +454,7 @@ q->skipFlagBits[i] = band_tab[i+1] - band_tab[i]; for(j = band_tab[i]; j < band_tab[i+1]; j++) { - if ((q->skipFlags[j] = get_bits(&q->gb,1))) + if ((q->skipFlags[j] = get_bits1(&q->gb))) q->skipFlagCount[i]++; } } else { @@ -485,7 +485,7 @@ if (j < band_tab[i+1]) { q->skipFlagBits[i]++; - if ((q->skipFlags[j] = get_bits(&q->gb,1))) + if ((q->skipFlags[j] = get_bits1(&q->gb))) q->skipFlagCount[i]++; } }