From 3104100a1270693673be9a7eec386cfe3ab5554d Mon Sep 17 00:00:00 2001 From: Limin Wang Date: Mon, 23 Sep 2019 21:31:33 +0800 Subject: [PATCH] avcodec/exr: cosmetics Signed-off-by: Limin Wang Signed-off-by: Michael Niedermayer --- libavcodec/exr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 0f8b0fda9f..c12469cc28 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -1861,7 +1861,8 @@ static av_cold int decode_init(AVCodecContext *avctx) #if HAVE_THREADS static int decode_init_thread_copy(AVCodecContext *avctx) -{ EXRContext *s = avctx->priv_data; +{ + EXRContext *s = avctx->priv_data; // allocate thread data, used for non EXR_RAW compression types s->thread_data = av_mallocz_array(avctx->thread_count, sizeof(EXRThreadData));