aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-10-08 22:08:12 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-10-13 20:12:30 +0800
commitf25871d790b77dcce82c33343b87828a176f329b (patch)
treeb5054b710926c271037982c1fcaedb85285f0816
parentba03e4ed3365fa8d8940356384ef9f542173ab3b (diff)
downloadffmpeg-f25871d790b77dcce82c33343b87828a176f329b.tar.gz
avcodec/avs3_parser: Fix usage of init_get_bits() and use init_get_bits8()
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r--libavcodec/avs3_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avs3_parser.c b/libavcodec/avs3_parser.c
index 1a05ea042e..d04d96a03a 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;