[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.8,1.9

Alban Bedel CVS albeu at mplayerhq.hu
Thu May 23 11:47:20 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv20429/libmpdemux

Modified Files:
	demux_ogg.c 
Log Message:
10L bugfix


Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- demux_ogg.c	19 May 2002 23:25:40 -0000	1.8
+++ demux_ogg.c	23 May 2002 09:47:07 -0000	1.9
@@ -534,10 +534,11 @@
 //	  if(sh_a->wf) print_wave_header(sh_a->wf);
 	}
 	/// Is it the stream we want
-	if(demuxer->audio->id == ogg_d->num_sub)
+	if(demuxer->audio->id == ogg_d->num_sub) {
 	  demuxer->audio->sh = sh_a;
 	  sh_a->ds = demuxer->audio;
 	  ds = demuxer->audio;
+	}
       }
       if(sh_v) {
 	/// Also for video
@@ -545,10 +546,11 @@
 	  demuxer->video->id = ogg_d->num_sub;
 //	  if(sh_v->bih) print_video_header(sh_v->bih);
 	}
-	if(demuxer->video->id == ogg_d->num_sub)
+	if(demuxer->video->id == ogg_d->num_sub) {
 	  demuxer->video->sh = sh_v;
 	  sh_v->ds = demuxer->video;
 	  ds = demuxer->video;
+	}
       }
       /// Add the header packets if the stream isn't seekable
       if(ds && (!s->end_pos || index_mode != 2)) {




More information about the MPlayer-cvslog mailing list