1 diff -Nur libvisual-plugins-0.4.0/plugins/actor/JESS/renderer.c libvisual-plugins-0.4.0.new/plugins/actor/JESS/renderer.c
2 --- libvisual-plugins-0.4.0/plugins/actor/JESS/renderer.c 2006-02-06 05:47:26.000000000 +1100
3 +++ libvisual-plugins-0.4.0.new/plugins/actor/JESS/renderer.c 2007-07-04 18:12:58.000000000 +1000
6 void render_deformation(JessPrivate *priv, int defmode)
10 uint32_t *tab1 = NULL, *tab2, *tab3, *tab4, i;
11 uint8_t *pix = priv->pixel, *buf = priv->buffer, *aux;
17 - bmax = priv->resx * priv->resy + (uint32_t) priv->pixel;
18 + bmax = priv->resx * priv->resy + (intptr_t) priv->pixel;
24 for (i = 0; i < priv->resy * priv->resx; i++)
26 - aux = (uint8_t *) ((*(tab1) << 2 ) + (uint32_t) priv->buffer);
27 + aux = (uint8_t *) ((*(tab1) << 2 ) + (intptr_t) priv->buffer);
32 /* j'ai mis pixel par defaut... */
34 uint8_t *pix = priv->pixel;
35 - uint32_t bmax,pitch_4;
40 if (priv->pixel == NULL)
44 if (visual_cpu_get_mmx ()) {
45 - bmax = priv->resx * (priv->resy-1) + (uint32_t) priv->pixel;
46 + bmax = priv->resx * (priv->resy-1) + (intptr_t) priv->pixel;
47 #if defined(VISUAL_ARCH_X86) || defined(VISUAL_ARCH_X86_64)
49 ("\n\t pxor %%mm6, %%mm6"
53 pitch_4 = priv->pitch+4;
54 - bmax = priv->pitch*(priv->resy-1) + (uint32_t) priv->pixel;
55 + bmax = priv->pitch*(priv->resy-1) + (intptr_t) priv->pixel;
57 if (visual_cpu_get_mmx ()) {
58 #if defined(VISUAL_ARCH_X86) || defined(VISUAL_ARCH_X86_64)