aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-11-24 15:05:24 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-12-31 18:43:50 +0100
commitf72fa1ad679569303da42d5ee0bcbc3a1bff0576 (patch)
treed2c96175938d103084dc0b10eff8c0857266bf9c
parent79d5d79f3837d8915b13c131feb5c7a7f5fb4357 (diff)
downloadffmpeg-f72fa1ad679569303da42d5ee0bcbc3a1bff0576.tar.gz
avcodec: Replace skip_bits_long() by skip_bits() where possible
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/indeo5.c2
-rw-r--r--libavcodec/mpeg4audio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c
index 7b9da53df4..a7ab95a45c 100644
--- a/libavcodec/indeo5.c
+++ b/libavcodec/indeo5.c
@@ -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);
diff --git a/libavcodec/mpeg4audio.c b/libavcodec/mpeg4audio.c
index 2d9fe35f69..0d83fb8d25 100644
--- a/libavcodec/mpeg4audio.c
+++ b/libavcodec/mpeg4audio.c
@@ -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);