summaryrefslogtreecommitdiffstats
path: root/libavcodec/diracdec.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-02-03 01:02:39 +0000
committerTimothy Gu <timothygu99@gmail.com>2016-02-07 09:09:13 -0800
commit58ded09bd14e149af113b8373c1c2cd7958dfe54 (patch)
treeeb39e4f9790f418fb466f0386c434cdbdd48ea4e /libavcodec/diracdec.c
parent6cdde20beb9801ab83f142b56449e0a3f69b4019 (diff)
downloadffmpeg-streaming-58ded09bd14e149af113b8373c1c2cd7958dfe54.zip
ffmpeg-streaming-58ded09bd14e149af113b8373c1c2cd7958dfe54.tar.gz
dirac_dwt: Rename init2 to init
The functions are all private.
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 de7daf3..f3a3bbf 100644
--- a/libavcodec/diracdec.c
+++ b/libavcodec/diracdec.c
@@ -1755,8 +1755,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_init2(&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_buf, p->idwt_width, p->idwt_height, p->idwt_stride,
+ s->wavelet_idx+2, s->wavelet_depth, p->idwt_tmp, s->bit_depth);
if (ret < 0)
return ret;
OpenPOWER on IntegriCloud