mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
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:
parent
d4aef3ba35
commit
068fffa36a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user