[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.47,1.48

Richard Felker CVS syncmail at mplayerhq.hu
Sat Apr 24 00:30:22 CEST 2004


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv11696/libmpdemux

Modified Files:
	demux_ogg.c 
Log Message:
1000000000000l to bunkus

Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- demux_ogg.c	23 Apr 2004 16:36:33 -0000	1.47
+++ demux_ogg.c	23 Apr 2004 22:30:18 -0000	1.48
@@ -1176,6 +1176,10 @@
   int64_t gp = 0, old_gp;
   void *context = NULL;
   off_t pos, old_pos;
+  int np;
+  int is_gp_valid;
+  float pts;
+  int is_keyframe;
 
   if(demuxer->video->id >= 0) {
     ds = demuxer->video;
@@ -1255,7 +1259,6 @@
       first = !(ogg_d->syncpoints);
       do_seek=0;
     }
-    int np;
     ogg_d->pos += ogg_d->last_size;
     ogg_d->last_size = 0;
     np = ogg_sync_pageseek(sync,page);
@@ -1291,9 +1294,7 @@
         first = 0;
         break;
       }
-      int is_gp_valid = (op.granulepos >= 0);
-      float pts;
-      int is_keyframe;
+      is_gp_valid = (op.granulepos >= 0);
       demux_ogg_read_packet(os,&op,context,&pts,&is_keyframe);
       if (precision && is_gp_valid) {
         precision--;




More information about the MPlayer-cvslog mailing list