changeset 3199:1651e69b9f7a libavcodec

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 >
author gpoirier
date Fri, 17 Mar 2006 12:08:46 +0000
parents 6b9f0c4fbdbe
children 646f6344472d
files dsputil.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.c	Thu Mar 16 19:18:18 2006 +0000
+++ b/dsputil.c	Fri Mar 17 12:08:46 2006 +0000
@@ -4048,9 +4048,11 @@
     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);