diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-24 15:05:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-31 18:43:50 +0100 |
commit | 79d5d79f3837d8915b13c131feb5c7a7f5fb4357 (patch) | |
tree | 85507abd4f7535ff9e36826314bdbac04ec4108d /libavcodec/ivi.c | |
parent | fa47f6412dbf93b4865adf8c66618906a3274330 (diff) |
avcodec: Replace show_bits_long() by show_bits() where possible
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/ivi.c')
-rw-r--r-- | libavcodec/ivi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ivi.c b/libavcodec/ivi.c index 18192cbf23..93afabeb15 100644 --- a/libavcodec/ivi.c +++ b/libavcodec/ivi.c @@ -1193,7 +1193,7 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, left = get_bits_count(&ctx->gb) & 0x18; skip_bits_long(&ctx->gb, 64 - left); if (get_bits_left(&ctx->gb) > 18 && - show_bits_long(&ctx->gb, 21) == 0xBFFF8) { // syncheader + inter type + show_bits(&ctx->gb, 21) == 0xBFFF8) { // syncheader + inter type AVPacket pkt; pkt.data = avpkt->data + (get_bits_count(&ctx->gb) >> 3); pkt.size = get_bits_left(&ctx->gb) >> 3; |