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

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/itx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/itx.c')
-rw-r--r--src/itx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/itx.c b/src/itx.c
index d4254e3..9be893a 100644
--- a/src/itx.c
+++ b/src/itx.c
@@ -204,6 +204,8 @@ void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c) {
c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
inv_txfm_add_identity_adst_##w##x##h##_c; \
+ memset(c, 0, sizeof(*c)); /* Zero unused function pointer elements. */
+
c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
assign_itx_all_fn84( 4, 4, );
assign_itx_all_fn84( 4, 8, R);