mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec: Replace skip_bits_long() by skip_bits() where possible
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
79d5d79f38
commit
f72fa1ad67
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user