[xiph-commits] r14038 - trunk/theora/examples

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Tue Oct 23 14:07:22 PDT 2007


Author: xiphmont
Date: 2007-10-23 14:07:21 -0700 (Tue, 23 Oct 2007)
New Revision: 14038

Modified:
   trunk/theora/examples/encoder_example.c
Log:
Cosmetic fix to status output



Modified: trunk/theora/examples/encoder_example.c
===================================================================
--- trunk/theora/examples/encoder_example.c	2007-10-23 10:53:56 UTC (rev 14037)
+++ trunk/theora/examples/encoder_example.c	2007-10-23 21:07:21 UTC (rev 14038)
@@ -949,7 +949,8 @@
         audioflag=0;
         timebase=audiotime;
       }
-      {
+
+      if(timebase!=-1.){
         int hundredths=timebase*100-(long)timebase*100;
         int seconds=(long)timebase%60;
         int minutes=((long)timebase/60)%60;



More information about the commits mailing list