summaryrefslogtreecommitdiff
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2019-09-23 21:31:33 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2019-09-23 22:16:00 +0200
commit3104100a1270693673be9a7eec386cfe3ab5554d (patch)
treee646477649cb1f48ddaceb1e7fb375e0f5e052a5 /libavcodec/exr.c
parente9e9f79a1908899a315eed760e55b2c32ec1e55b (diff)
avcodec/exr: cosmetics
Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r--libavcodec/exr.c3
1 files changed, 2 insertions, 1 deletions
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));