[FFmpeg-cvslog] avcodec: Replace skip_bits_long() by skip_bits() where possible

Michael Niedermayer git at videolan.org
Tue Dec 31 20:05:17 EET 2019


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Nov 24 15:05:24 2019 +0100| [f72fa1ad679569303da42d5ee0bcbc3a1bff0576] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f72fa1ad679569303da42d5ee0bcbc3a1bff0576
---

 libavcodec/indeo5.c     | 2 +-
 libavcodec/mpeg4audio.c | 2 +-
 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);
 



More information about the ffmpeg-cvslog mailing list