[FFmpeg-cvslog] libx265: Simple cosmetic fix

Derek Buitenhuis git at videolan.org
Mon Mar 24 16:28:44 CET 2014


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Sun Mar 23 14:39:46 2014 +0000| [206d5330f64843a6e944c8e98402a6a876b8ef45] | committer: Derek Buitenhuis

libx265: Simple cosmetic fix

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=206d5330f64843a6e944c8e98402a6a876b8ef45
---

 libavcodec/libx265.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 2aceac7..fbce99c 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;



More information about the ffmpeg-cvslog mailing list