From aeef76b3837129267d4ffda58e8824497e29e8a8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 21 Jan 2013 19:09:16 +0100 Subject: [PATCH] dsputil: CONFIG_DWT doesnt exist anymore place snow dwt init under correct checks should fix compilation with enable-random Signed-off-by: Michael Niedermayer --- libavcodec/dsputil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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