]> git.sesse.net Git - ffmpeg/commitdiff
avcodec: Replace skip_bits_long() by skip_bits() where possible
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Nov 2019 14:05:24 +0000 (15:05 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 31 Dec 2019 17:43:50 +0000 (18:43 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/indeo5.c
libavcodec/mpeg4audio.c

index 7b9da53df4818ffba564afeb3c83602bffcc97a1..a7ab95a45ce62e36c00f4881856946b353e93119 100644 (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);
index 2d9fe35f69e754f156750e6e2d76b15badd5223e..0d83fb8d259783abf482f9e3ad8451a002a8ad0f 100644 (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);