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

giles at svn.xiph.org giles at svn.xiph.org
Fri Mar 27 21:01:00 PDT 2009


Author: giles
Date: 2009-03-27 21:01:00 -0700 (Fri, 27 Mar 2009)
New Revision: 15872

Modified:
   trunk/theora/tests/granulepos.c
Log:
Port the previous change to the new encoder api. Oops.


Modified: trunk/theora/tests/granulepos.c
===================================================================
--- trunk/theora/tests/granulepos.c	2009-03-28 03:54:45 UTC (rev 15871)
+++ trunk/theora/tests/granulepos.c	2009-03-28 04:01:00 UTC (rev 15872)
@@ -94,9 +94,9 @@
       printf("th_encode_ycbcr_in() returned %d\n", result);
       FAIL ("negative error code submitting frame for compression");
     }
-    result = theora_encode_packetout (&th, frame >= frequency * 2, &op);
+    result = th_encode_packetout (te, frame >= frequency * 2, &op);
     if (result <= 0) {
-      printf("theora_encode_packetout() returned %d\n", result);
+      printf("th_encode_packetout() returned %d\n", result);
       FAIL("failed to retrieve compressed frame");
     }
     if ((long long int)op.granulepos < last_granule)



More information about the commits mailing list