diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-10-08 22:08:12 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2021-10-13 20:12:30 +0800 |
commit | f25871d790b77dcce82c33343b87828a176f329b (patch) | |
tree | b5054b710926c271037982c1fcaedb85285f0816 | |
parent | ba03e4ed3365fa8d8940356384ef9f542173ab3b (diff) | |
download | ffmpeg-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.c | 2 |
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; |