[MPlayer-dev-eng] Sorry messed up the patch to demux_ogg.c
Alexander Werth (gmx)
alexander.werth at gmx.de
Tue May 21 13:55:15 CEST 2002
Hy,
Sorry messed up the patch to demux_ogg.c at the last stage of cleaning
up and forgot some brackets.
I attached a patch for the missing brackets.
Alexander Werth
--
OpenOffice 1.0.0 Evolution 1.0.4 Nautilus 1.1.14 Galeon 1.2.1
Gimp 1.2.3 Gnome 1.4 mplayer 0.90pre4 We are almost there.
-------------- next part --------------
--- libmpdemux/demux_ogg.c~ Mon May 20 01:25:40 2002
+++ libmpdemux/demux_ogg.c Tue May 21 13:35:11 2002
@@ -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-dev-eng
mailing list