[FFmpeg-cvslog] dsputil: CONFIG_DWT doesnt exist anymore

Michael Niedermayer git at videolan.org
Mon Jan 21 19:11:35 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 21 19:09:16 2013 +0100| [aeef76b3837129267d4ffda58e8824497e29e8a8] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aeef76b3837129267d4ffda58e8824497e29e8a8
---

 libavcodec/dsputil.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 50cbaaf..ffb5085 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
 



More information about the ffmpeg-cvslog mailing list