diff mbox series

[FFmpeg-devel,2/4] avcodec/avs3_parser: Fix usage of init_get_bits() and use init_get_bits8()

Message ID 1633703633-18164-2-git-send-email-lance.lmwang@gmail.com
State Accepted
Commit f25871d790b77dcce82c33343b87828a176f329b
Headers show
Series [FFmpeg-devel,1/4] avcodec/audiotoolboxdec: Fix usage of init_get_bits() and use init_get_bits8() | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Limin Wang Oct. 8, 2021, 2:33 p.m. UTC
From: Limin Wang <lance.lmwang@gmail.com>

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
---
 libavcodec/avs3_parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/avs3_parser.c b/libavcodec/avs3_parser.c
index 1a05ea0..d04d96a 100644
--- a/libavcodec/avs3_parser.c
+++ b/libavcodec/avs3_parser.c
@@ -73,7 +73,7 @@  static void parse_avs3_nal_units(AVCodecParserContext *s, const uint8_t *buf,
             GetBitContext gb;
             int profile, ratecode;
 
-            init_get_bits(&gb, buf + 4, buf_size - 4);
+            init_get_bits8(&gb, buf + 4, buf_size - 4);
 
             s->key_frame = 1;
             s->pict_type = AV_PICTURE_TYPE_I;