[mythtv] Backtrace: Goom segfaults

Ed Wildgoose lists at wildgooses.com
Sun Feb 20 14:52:11 UTC 2005


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



More information about the mythtv-dev mailing list