summaryrefslogtreecommitdiffstats
path: root/libavcodec/diracdec.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-02-03 01:30:55 +0000
committerTimothy Gu <timothygu99@gmail.com>2016-02-07 09:09:13 -0800
commit671761d71367f792d6f0c2cf8973cc183d189188 (patch)
tree8166c116f356c63c17ca59575b6b624a68ce4d91 /libavcodec/diracdec.c
parente04912c0b673f4b8be06c5ccf99acf0f6338e659 (diff)
downloadffmpeg-streaming-671761d71367f792d6f0c2cf8973cc183d189188.zip
ffmpeg-streaming-671761d71367f792d6f0c2cf8973cc183d189188.tar.gz
diracdec: Pass DWTPlane to dwt init
Diffstat (limited to 'libavcodec/diracdec.c')
-rw-r--r--libavcodec/diracdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
index 473dbec..e530a05 100644
--- a/libavcodec/diracdec.c
+++ b/libavcodec/diracdec.c
@@ -1750,8 +1750,8 @@ static int dirac_decode_frame_internal(DiracContext *s)
memset(p->idwt.buf, 0, p->idwt.stride * p->idwt.height);
decode_component(s, comp); /* [DIRAC_STD] 13.4.1 core_transform_data() */
}
- ret = ff_spatial_idwt_init(&d, p->idwt.buf, p->idwt.width, p->idwt.height, p->idwt.stride,
- s->wavelet_idx+2, s->wavelet_depth, p->idwt.tmp, s->bit_depth);
+ ret = ff_spatial_idwt_init(&d, &p->idwt, s->wavelet_idx+2,
+ s->wavelet_depth, s->bit_depth);
if (ret < 0)
return ret;
OpenPOWER on IntegriCloud