Mercurial > libavcodec.hg
diff dsputil.c @ 3432:ab49baf4adad libavcodec
Fix compilation with --disable-decoders.
patch by Emiliano Parasassi, millallo --at-- gmail --dot-- com
author | diego |
---|---|
date | Fri, 07 Jul 2006 11:08:58 +0000 |
parents | adccbf4a1040 |
children | 7dc8e4a12105 |
line wrap: on
line diff
--- a/dsputil.c Fri Jul 07 10:50:14 2006 +0000 +++ b/dsputil.c Fri Jul 07 11:08:58 2006 +0000 @@ -2570,6 +2570,7 @@ } } +#ifdef CONFIG_CAVS_DECODER /* AVS specific */ void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx); @@ -2585,6 +2586,7 @@ void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) { avg_pixels16_c(dst, src, stride, 16); } +#endif /* CONFIG_CAVS_DECODER */ static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ uint8_t *cm = cropTbl + MAX_NEG_CROP; @@ -4005,7 +4007,9 @@ c->biweight_h264_pixels_tab[8]= biweight_h264_pixels2x4_c; c->biweight_h264_pixels_tab[9]= biweight_h264_pixels2x2_c; +#ifdef CONFIG_CAVS_DECODER ff_cavsdsp_init(c,avctx); +#endif c->put_mspel_pixels_tab[0]= put_mspel8_mc00_c; c->put_mspel_pixels_tab[1]= put_mspel8_mc10_c;