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/smacker.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/smacker.c')
-rw-r--r-- | libavcodec/smacker.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index fa1bdf6c8b..ca8e70000b 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -290,7 +290,7 @@ static int decode_header_trees(SmackVContext *smk) { } else { smacker_decode_header_tree(smk, &gb, &smk->mmap_tbl, smk->mmap_last, mmap_size); } - if(!get_bits(&gb, 1)) { + if(!get_bits1(&gb)) { av_log(smk->avctx, AV_LOG_INFO, "Skipping MCLR tree\n"); smk->mclr_tbl = av_malloc(sizeof(int) * 2); smk->mclr_tbl[0] = 0; @@ -298,7 +298,7 @@ static int decode_header_trees(SmackVContext *smk) { } else { smacker_decode_header_tree(smk, &gb, &smk->mclr_tbl, smk->mclr_last, mclr_size); } - if(!get_bits(&gb, 1)) { + if(!get_bits1(&gb)) { av_log(smk->avctx, AV_LOG_INFO, "Skipping FULL tree\n"); smk->full_tbl = av_malloc(sizeof(int) * 2); smk->full_tbl[0] = 0; @@ -306,7 +306,7 @@ static int decode_header_trees(SmackVContext *smk) { } else { smacker_decode_header_tree(smk, &gb, &smk->full_tbl, smk->full_last, full_size); } - if(!get_bits(&gb, 1)) { + if(!get_bits1(&gb)) { av_log(smk->avctx, AV_LOG_INFO, "Skipping TYPE tree\n"); smk->type_tbl = av_malloc(sizeof(int) * 2); smk->type_tbl[0] = 0; |