Commit c8023893 authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Derek Buitenhuis

h2645_parse: initialize the GetBitContext to the proper size

Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 6eb1b40a
......@@ -325,7 +325,7 @@ int ff_h2645_packet_split(H2645Packet *pkt, const uint8_t *buf, int length,
nal->size_bits = get_bit_length(nal, skip_trailing_zeros);
ret = init_get_bits8(&nal->gb, nal->data, nal->size_bits);
ret = init_get_bits(&nal->gb, nal->data, nal->size_bits);
if (ret < 0)
return ret;
......
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