1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

libx265: Simple cosmetic fix

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
Derek Buitenhuis 2014-03-23 14:39:46 +00:00
parent 13278b97ae
commit 206d5330f6

View File

@ -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;