summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-21 19:09:16 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-21 19:09:16 +0100
commitaeef76b3837129267d4ffda58e8824497e29e8a8 (patch)
tree23efa5128fb9800cf9db93e6bad6888f6873620e /libavcodec/dsputil.c
parent5b95d39ee157abf9dd9f54848824292624748b9c (diff)
dsputil: CONFIG_DWT doesnt exist anymore
place snow dwt init under correct checks should fix compilation with enable-random Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r--libavcodec/dsputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 50cbaafcab..ffb508535f 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -2869,7 +2869,7 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx)
c->vsse[5]= vsse_intra8_c;
c->nsse[0]= nsse16_c;
c->nsse[1]= nsse8_c;
-#if CONFIG_DWT
+#if CONFIG_SNOW_DECODER || CONFIG_SNOW_ENCODER
ff_dsputil_init_dwt(c);
#endif