diff options
author | Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> | 2018-11-28 01:24:09 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-01-23 22:33:43 +0000 |
commit | 992532ee3122d7938a7581988eea401b57de8189 (patch) | |
tree | 2f7386fde20a32210a00fbdcf96f88caa5a9e6e1 /libavcodec/hevc_parser.c | |
parent | cf81284b1c14ef28d3f94e6d28c46188ba4e82f2 (diff) | |
download | ffmpeg-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/hevc_parser.c')
-rw-r--r-- | libavcodec/hevc_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index f0b0789990..b444b99955 100644 --- a/libavcodec/hevc_parser.c +++ b/libavcodec/hevc_parser.c @@ -194,7 +194,7 @@ static int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf, ff_hevc_reset_sei(sei); ret = ff_h2645_packet_split(&ctx->pkt, buf, buf_size, avctx, ctx->is_avc, - ctx->nal_length_size, AV_CODEC_ID_HEVC, 1); + ctx->nal_length_size, AV_CODEC_ID_HEVC, 1, 0); if (ret < 0) return ret; |