[xiph-commits] r2947 - liboggplay/trunk/plugin

laser13 at svn.annodex.net laser13 at svn.annodex.net
Sat Jun 16 00:30:48 PDT 2007


Author: laser13
Date: 2007-06-16 00:30:47 -0700 (Sat, 16 Jun 2007)
New Revision: 2947

Modified:
   liboggplay/trunk/plugin/plugin_oggplay.c
Log:
Fixed declaration of variables at the beginning of the function so VS does not complain - again.

Modified: liboggplay/trunk/plugin/plugin_oggplay.c
===================================================================
--- liboggplay/trunk/plugin/plugin_oggplay.c	2007-06-16 06:40:26 UTC (rev 2946)
+++ liboggplay/trunk/plugin/plugin_oggplay.c	2007-06-16 07:30:47 UTC (rev 2947)
@@ -113,7 +113,8 @@
   int               i;
   int               video_track   = -1;
   int               audio_track   = -1;
-  
+  ogg_int64_t		time_ref;
+
   player = oggplay_new_with_reader(reader, pointers->location);
 
   pointers->shutdown_oggplay = 0;
@@ -137,7 +138,7 @@
    * calls and return if any operation takes longer than some small
    * period of time to complete.
    */
-  ogg_int64_t time_ref = oggplay_sys_time_in_ms();
+  time_ref = oggplay_sys_time_in_ms();
   while (1) {
     OggPlayErrorCode res = oggplay_initialise(player, 0);
     if (res == E_OGGPLAY_OK) {



More information about the commits mailing list