# HG changeset patch # User nicodvb # Date 1149720040 0 # Node ID 94524d81d145f9aae7eda439f098aa45d647fe7a # Parent 80324ad2b3f12cc4843cc93ee4bdeb4db5d377c3 first vorbis packet before vorbis_synthesis_headeri() must have b_o_s==1 diff -r 80324ad2b3f1 -r 94524d81d145 libmpdemux/demux_ogg.c --- a/libmpdemux/demux_ogg.c Wed Jun 07 22:22:45 2006 +0000 +++ b/libmpdemux/demux_ogg.c Wed Jun 07 22:40:40 2006 +0000 @@ -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;