avcodec: Replace skip_bits_long() by skip_bits() where possible

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2019-11-24 15:05:24 +01:00
parent 79d5d79f38
commit f72fa1ad67
2 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ static int decode_gop_header(IVI45DecContext *ctx, AVCodecContext *avctx)
}
if (get_bits1(&ctx->gb))
skip_bits_long(&ctx->gb, 24); /* skip transparency fill color */
skip_bits(&ctx->gb, 24); /* skip transparency fill color */
}
align_get_bits(&ctx->gb);

View File

@ -119,7 +119,7 @@ int ff_mpeg4audio_get_config_gb(MPEG4AudioConfig *c, GetBitContext *gb,
if (c->object_type == AOT_ALS) {
skip_bits(gb, 5);
if (show_bits(gb, 24) != MKBETAG('\0','A','L','S'))
skip_bits_long(gb, 24);
skip_bits(gb, 24);
specific_config_bitindex = get_bits_count(gb);