summaryrefslogtreecommitdiffstats
path: root/libavcodec/hevcdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@googlemail.com>2018-11-28 01:24:09 +0100
committerMark Thompson <sw@jkqxz.net>2019-01-23 22:33:43 +0000
commit992532ee3122d7938a7581988eea401b57de8189 (patch)
tree2f7386fde20a32210a00fbdcf96f88caa5a9e6e1 /libavcodec/hevcdec.c
parentcf81284b1c14ef28d3f94e6d28c46188ba4e82f2 (diff)
downloadffmpeg-streaming-992532ee3122d7938a7581988eea401b57de8189.zip
ffmpeg-streaming-992532ee3122d7938a7581988eea401b57de8189.tar.gz
h2645_parse: Make ff_h2645_packet_split reference-compatible
This is in preparation for a patch for cbs_h2645. Now the packet's rbsp_buffer can be owned by an AVBuffer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Diffstat (limited to 'libavcodec/hevcdec.c')
-rw-r--r--libavcodec/hevcdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index 10bf256..b2a87d5 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
@@ -3026,7 +3026,7 @@ static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length)
/* split the input packet into NAL units, so we know the upper bound on the
* number of slices in the frame */
ret = ff_h2645_packet_split(&s->pkt, buf, length, s->avctx, s->is_nalff,
- s->nal_length_size, s->avctx->codec_id, 1);
+ s->nal_length_size, s->avctx->codec_id, 1, 0);
if (ret < 0) {
av_log(s->avctx, AV_LOG_ERROR,
"Error splitting the input into NAL units.\n");
OpenPOWER on IntegriCloud