summaryrefslogtreecommitdiff
path: root/libavcodec/h265_metadata_bsf.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-02-21 22:22:54 +0000
committerMark Thompson <sw@jkqxz.net>2018-02-21 22:22:54 +0000
commit0cc8e34a94c84132cf5b0f6472c5f61c8a66cee1 (patch)
tree36c8a457e098ff96367b96c67ea2ce036fc31f30 /libavcodec/h265_metadata_bsf.c
parentb656fa710a34ec7c3b192c38344a2c470ff2eaf5 (diff)
parentce5870a3a8f2b10668ee4f04c2ae0287f66f31b2 (diff)
Merge commit 'ce5870a3a8f2b10668ee4f04c2ae0287f66f31b2'
* commit 'ce5870a3a8f2b10668ee4f04c2ae0287f66f31b2': cbs: Refcount all the things! Some changes for bitstream API. Merged-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavcodec/h265_metadata_bsf.c')
-rw-r--r--libavcodec/h265_metadata_bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h265_metadata_bsf.c b/libavcodec/h265_metadata_bsf.c
index 67dbe288e3..2398ee95c5 100644
--- a/libavcodec/h265_metadata_bsf.c
+++ b/libavcodec/h265_metadata_bsf.c
@@ -289,7 +289,7 @@ static int h265_metadata_filter(AVBSFContext *bsf, AVPacket *out)
aud->pic_type = pic_type;
err = ff_cbs_insert_unit_content(ctx->cbc, au,
- 0, HEVC_NAL_AUD, aud);
+ 0, HEVC_NAL_AUD, aud, NULL);
if (err) {
av_log(bsf, AV_LOG_ERROR, "Failed to insert AUD.\n");
goto fail;