Browse Source

h2645_parse: initialize the GetBitContext to the proper size

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n3.1
Hendrik Leppkes Derek Buitenhuis 9 years ago
parent
commit
c802389393
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h2645_parse.c

+ 1
- 1
libavcodec/h2645_parse.c View File

@@ -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;



Loading…
Cancel
Save