[MN-dev] [mndiff]: r204 - trunk/noe/rs.c

michael subversion at mplayerhq.hu
Mon Jul 19 16:20:18 CEST 2010


Author: michael
Date: Mon Jul 19 16:20:18 2010
New Revision: 204

Log:
Fix a bug in rsEuclid() about syndrom order.

Modified:
   trunk/noe/rs.c

Modified: trunk/noe/rs.c
==============================================================================
--- trunk/noe/rs.c	Tue Jul 13 23:27:41 2010	(r203)
+++ trunk/noe/rs.c	Mon Jul 19 16:20:18 2010	(r204)
@@ -275,7 +275,9 @@ static int rsEuclid(GFF4Element *locator
     omega[0][parityCount+1+1]= 1;
     SET_POLY0(locator[0], 0);
     SET_POLY0(locator[1], 1);
-    
+
+    EXT(getOrder)(omega[1]); //get syndrom isnt guranteed to set this correctly divPoly asserts on it though
+
     for(i=0; 1; i++){
         const int di= i&1;
         const int si= 1-di;


More information about the Mndiff-dev mailing list