first vorbis packet before vorbis_synthesis_headeri() must have b_o_s==1

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18638 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-06-07 22:40:40 +00:00
parent d4aef3ba35
commit 068fffa36a
1 changed files with 1 additions and 0 deletions

View File

@ -802,6 +802,7 @@ static void fixup_vorbis_wf(sh_audio_t *sh, ogg_demuxer_t *od)
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;