aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vorbis_dec.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-08-09 00:13:31 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-08-09 00:13:31 +0000
commit5fc32c275efb591c5d40d2eb3902225c32494e65 (patch)
tree388f5bdf2cabe6b493335b2c4f4b9ea1fdbe109c /libavcodec/vorbis_dec.c
parentb6c748edbad9fb8a854f758553cfc8e5a1bbdb9c (diff)
downloadffmpeg-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/vorbis_dec.c')
-rw-r--r--libavcodec/vorbis_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c
index 32619655c7..6bc69b1718 100644
--- a/libavcodec/vorbis_dec.c
+++ b/libavcodec/vorbis_dec.c
@@ -791,7 +791,7 @@ static int vorbis_parse_setup_hdr_modes(vorbis_context *vc) {
for(i=0;i<vc->mode_count;++i) {
vorbis_mode *mode_setup=&vc->modes[i];
- mode_setup->blockflag=get_bits(gb, 1);
+ mode_setup->blockflag=get_bits1(gb);
mode_setup->windowtype=get_bits(gb, 16); //FIXME check
mode_setup->transformtype=get_bits(gb, 16); //FIXME check
mode_setup->mapping=get_bits(gb, 8); //FIXME check