diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-02-21 22:22:54 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-02-21 22:22:54 +0000 |
commit | 0cc8e34a94c84132cf5b0f6472c5f61c8a66cee1 (patch) | |
tree | 36c8a457e098ff96367b96c67ea2ce036fc31f30 /libavcodec/vaapi_encode_h264.c | |
parent | b656fa710a34ec7c3b192c38344a2c470ff2eaf5 (diff) | |
parent | ce5870a3a8f2b10668ee4f04c2ae0287f66f31b2 (diff) | |
download | ffmpeg-0cc8e34a94c84132cf5b0f6472c5f61c8a66cee1.tar.gz |
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/vaapi_encode_h264.c')
-rw-r--r-- | libavcodec/vaapi_encode_h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c index a7f9a60253..56ad217b4a 100644 --- a/libavcodec/vaapi_encode_h264.c +++ b/libavcodec/vaapi_encode_h264.c @@ -135,7 +135,7 @@ static int vaapi_encode_h264_add_nal(AVCodecContext *avctx, int err; err = ff_cbs_insert_unit_content(priv->cbc, au, -1, - header->nal_unit_type, nal_unit); + header->nal_unit_type, nal_unit, NULL); if (err < 0) { av_log(avctx, AV_LOG_ERROR, "Failed to add NAL unit: " "type = %d.\n", header->nal_unit_type); |