Commit 408d06d9 authored by gpoirier's avatar gpoirier

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 >


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5175 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3456eec2
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment