diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2019-09-23 21:31:33 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-23 22:16:00 +0200 |
commit | 3104100a1270693673be9a7eec386cfe3ab5554d (patch) | |
tree | e646477649cb1f48ddaceb1e7fb375e0f5e052a5 /libavcodec/exr.c | |
parent | e9e9f79a1908899a315eed760e55b2c32ec1e55b (diff) | |
download | ffmpeg-3104100a1270693673be9a7eec386cfe3ab5554d.tar.gz |
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.c | 3 |
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)); |