diff options
author | Oded Shimon <ods15@ods15.dyndns.org> | 2006-03-17 12:08:46 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2006-03-17 12:08:46 +0000 |
commit | 13c97a5a0aa7313867b24778a6cb3d94771649c2 (patch) | |
tree | 74b5474bae2cc87da6fee4d983c8f3acf20264f1 /libavcodec/dsputil.c | |
parent | 8859312001f2d7d311cccd7b4e2047954aee0cb5 (diff) | |
download | ffmpeg-13c97a5a0aa7313867b24778a6cb3d94771649c2.tar.gz |
10l: Only set *compose97i *add_yblock to dsputils context if we are building with Snow enabled
Patch by Oded Shimon < ods15 AH ods15 POIS dyndns POIS org >
Originally committed as revision 5175 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 6bc59db9fa..87eb49bacc 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -4048,9 +4048,11 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx) c->try_8x8basis= try_8x8basis_c; c->add_8x8basis= add_8x8basis_c; +#ifdef CONFIG_SNOW_ENCODER c->vertical_compose97i = ff_snow_vertical_compose97i; c->horizontal_compose97i = ff_snow_horizontal_compose97i; c->inner_add_yblock = ff_snow_inner_add_yblock; +#endif #ifdef HAVE_MMX dsputil_init_mmx(c, avctx); |