[MPlayer-cvslog] r18638 - trunk/libmpdemux/demux_ogg.c
nicodvb
subversion at mplayerhq.hu
Thu Jun 8 00:40:41 CEST 2006
Author: nicodvb
Date: Thu Jun 8 00:40:40 2006
New Revision: 18638
Modified:
trunk/libmpdemux/demux_ogg.c
Log:
first vorbis packet before vorbis_synthesis_headeri() must have b_o_s==1
Modified: trunk/libmpdemux/demux_ogg.c
==============================================================================
--- trunk/libmpdemux/demux_ogg.c (original)
+++ trunk/libmpdemux/demux_ogg.c Thu Jun 8 00:40:40 2006
@@ -802,6 +802,7 @@
return;
memcpy(buf[i], op[i].packet, op[i].bytes);
+ op[i].b_o_s = (i==0);
ris = vorbis_synthesis_headerin(&(od->vi),&(od->vc),&(op[i]));
if(ris < 0) {
init_error = 1;
More information about the MPlayer-cvslog
mailing list