[xiph-commits] r14373 - trunk/theora/tests

giles at svn.xiph.org giles at svn.xiph.org
Sat Jan 5 17:31:07 PST 2008


Author: giles
Date: 2008-01-05 17:31:06 -0800 (Sat, 05 Jan 2008)
New Revision: 14373

Modified:
   trunk/theora/tests/granulepos.c
Log:
Update the unit tests for the new granulepos behaviour set it r14352.


Modified: trunk/theora/tests/granulepos.c
===================================================================
--- trunk/theora/tests/granulepos.c	2008-01-05 23:52:28 UTC (rev 14372)
+++ trunk/theora/tests/granulepos.c	2008-01-06 01:31:06 UTC (rev 14373)
@@ -112,7 +112,7 @@
     if ((keyframe + keydist) != frame + 1)
       FAIL ("encoder granulepos does not map to the correct frame number");
     tframe = theora_granule_frame (&th, op.granulepos);
-    if (tframe != frame + 1)
+    if (tframe != frame)
       FAIL ("theora_granule_frame returned incorrect results");
 #if DEBUG
     printf("++ frame %d granulepos %lld %d:%d %d %.3lfs\n", 



More information about the commits mailing list