diff options
author | Emiliano Parasassi <millallo@gmail.com> | 2006-07-07 11:08:58 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-07-07 11:08:58 +0000 |
commit | 29c5cdcaec66b3e2a783eb1d34bdb8cba5d9192f (patch) | |
tree | d03be09e200a8f3f7d8afc486d6a3bfd15e6b89d /libavcodec/dsputil.c | |
parent | 6a09487edc1d5954d59a7fb0075ea88a8a0950b3 (diff) | |
download | ffmpeg-29c5cdcaec66b3e2a783eb1d34bdb8cba5d9192f.tar.gz |
Fix compilation with --disable-decoders.
patch by Emiliano Parasassi, millallo --at-- gmail --dot-- com
Originally committed as revision 5660 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index f85794bd71..5c22184135 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -2570,6 +2570,7 @@ static void wmv2_mspel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int } } +#ifdef CONFIG_CAVS_DECODER /* AVS specific */ void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx); @@ -2585,6 +2586,7 @@ void ff_put_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) { 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 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx) 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; |