[xiph-commits] r3205 - liboggz/trunk/src/liboggz

shans at svn.annodex.net shans at svn.annodex.net
Tue Aug 28 03:54:02 PDT 2007


Author: shans
Date: 2007-08-28 03:54:02 -0700 (Tue, 28 Aug 2007)
New Revision: 3205

Modified:
   liboggz/trunk/src/liboggz/oggz_auto.c
Log:
Deal correctly with seeking back into headers when calculating gp values



Modified: liboggz/trunk/src/liboggz/oggz_auto.c
===================================================================
--- liboggz/trunk/src/liboggz/oggz_auto.c	2007-08-28 10:35:45 UTC (rev 3204)
+++ liboggz/trunk/src/liboggz/oggz_auto.c	2007-08-28 10:54:02 UTC (rev 3205)
@@ -399,8 +399,8 @@
     if (info == NULL) {
       stream->calculate_data = malloc(sizeof(auto_calc_theora_info_t));
       info = stream->calculate_data;
-      info->encountered_first_data_packet = 0;
     }
+    info->encountered_first_data_packet = 0;
     return (ogg_int64_t)0;
   }
   



More information about the commits mailing list