Commit f25871d7 authored by Limin Wang's avatar Limin Wang

avcodec/avs3_parser: Fix usage of init_get_bits() and use init_get_bits8()

Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent ba03e4ed
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment