Message ID | 20190923133133.4443-1-lance.lmwang@gmail.com |
---|---|
State | Accepted |
Commit | 3104100a1270693673be9a7eec386cfe3ab5554d |
Headers | show |
On Mon, Sep 23, 2019 at 09:31:33PM +0800, lance.lmwang@gmail.com wrote: > From: Limin Wang <lance.lmwang@gmail.com> > > Signed-off-by: Limin Wang <lance.lmwang@gmail.com> > --- > libavcodec/exr.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) will apply thx [...]
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));