diff options
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r-- | libavcodec/exr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 0d5b3467d1..8b04fab951 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -2027,7 +2027,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, { EXRContext *s = avctx->priv_data; GetByteContext *gb = &s->gb; - ThreadFrame frame = { .f = data }; AVFrame *picture = data; uint8_t *ptr; @@ -2149,7 +2148,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, s->scan_lines_per_block; } - if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0) + if ((ret = ff_thread_get_buffer(avctx, picture, 0)) < 0) return ret; if (bytestream2_get_bytes_left(gb)/8 < nb_blocks) |