Commit 206d5330 authored by Derek Buitenhuis's avatar Derek Buitenhuis

libx265: Simple cosmetic fix

Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 13278b97
......@@ -206,9 +206,10 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx)
if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER) {
avctx->extradata_size = ctx->header_size;
avctx->extradata = ctx->header;
avctx->extradata = ctx->header;
ctx->header_size = 0;
ctx->header = NULL;
ctx->header = NULL;
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment