Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-18 18:49:20 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-12-18 18:52:08 +0400
commit1935173fd1decb494300bf96b507419aae2b116a (patch)
treeb4839dbbec113c215d90e31b5301aa5267cee0e2 /libavcodec/dirac_dwt.c
parentaeccb522ebb6fb0378bccd6393f1d0c1ca40fdd4 (diff)
avcodec/dirac_dwt: initialize support value for fidelity wavelet
Avoids use of uninitialized memory Fixes: msan_uninit-mem_7f15e1988a6e_2748_RL_420p_ffdirac.drc Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dirac_dwt.c')
-rw-r--r--libavcodec/dirac_dwt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dirac_dwt.c b/libavcodec/dirac_dwt.c
index bbd8ec74a6..51a924be95 100644
--- a/libavcodec/dirac_dwt.c
+++ b/libavcodec/dirac_dwt.c
@@ -535,6 +535,7 @@ int ff_spatial_idwt_init2(DWTContext *d, IDWTELEM *buffer, int width, int height
d->vertical_compose_l0 = (void*)vertical_compose_fidelityiL0;
d->vertical_compose_h0 = (void*)vertical_compose_fidelityiH0;
d->horizontal_compose = horizontal_compose_fidelityi;
+ d->support = 0; // not really used
break;
case DWT_DIRAC_DAUB9_7:
d->spatial_compose = spatial_compose_daub97i_dy;