[mythtv] Backtrace: Goom segfaults
Ed Wildgoose
lists at wildgooses.com
Sun Feb 20 21:57:55 UTC 2005
Ed Wildgoose wrote:
> Pressed wrong key. I'm trying this patch/hack:
>
> Index: mythmusic/goom/filters.c
> ===================================================================
> RCS file: /var/lib/mythcvs/mythmusic/mythmusic/goom/filters.c,v
> retrieving revision 1.4
> diff -u -r1.4 filters.c
> --- mythmusic/goom/filters.c 26 Jan 2005 06:01:01 -0000 1.4
> +++ mythmusic/goom/filters.c 20 Feb 2005 14:51:03 -0000
> @@ -422,6 +422,8 @@
> px = brutSmypos + (((brutD[myPos] - brutSmypos) *
> buffratio) >> BUFFPOINTNB);
> brutSmypos = brutS[myPos2];
> py = brutSmypos + (((brutD[myPos2] - brutSmypos) *
> buffratio) >> BUFFPOINTNB);
> + if (px<0) px = 0;
> + if (py<0) py = 0;
>
> pos = ((px >> PERTEDEC) + prevX * (py >> PERTEDEC));
> // coef en modulo 15
>
This patch does "fix" things for me. Can anyone translate this into the
MMX code for a fix there?
Can't see what's changed though. Scanning the cvs diff shows
superficial changes only in these functions. Can anyone see why it's
started playing up..?
Ed W
More information about the mythtv-dev
mailing list