summaryrefslogtreecommitdiffstats
path: root/libavcodec/h2645_parse.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-05-06 18:31:05 +0200
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-05-07 21:11:10 +0100
commitc802389393094ff76cb48cd816362ca731387a45 (patch)
tree9fe90a00e6467bce67b94e493dbca7005fed3c78 /libavcodec/h2645_parse.c
parent6eb1b40ad869e011bb83a04c9c03a1001f75bf3f (diff)
downloadffmpeg-streaming-c802389393094ff76cb48cd816362ca731387a45.zip
ffmpeg-streaming-c802389393094ff76cb48cd816362ca731387a45.tar.gz
h2645_parse: initialize the GetBitContext to the proper size
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/h2645_parse.c')
-rw-r--r--libavcodec/h2645_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c
index d9721a2..496cd8d 100644
--- a/libavcodec/h2645_parse.c
+++ b/libavcodec/h2645_parse.c
@@ -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;
OpenPOWER on IntegriCloud