aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-03-23 14:39:46 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-03-24 15:28:11 +0000
commit206d5330f64843a6e944c8e98402a6a876b8ef45 (patch)
tree3f8322daa13f62cf596bd7f7af909da85f2d052b /libavcodec
parent13278b97aeb215a7f5ff75bf41485c2c5ebaf5d4 (diff)
downloadffmpeg-206d5330f64843a6e944c8e98402a6a876b8ef45.tar.gz
libx265: Simple cosmetic fix
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libx265.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 2aceac796d..fbce99cf83 100644
--- a/libavcodec/libx265.c
+++ b/libavcodec/libx265.c
@@ -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;