diff options
Diffstat (limited to 'apps/codecs/libtremor/vorbisfile.c')
-rw-r--r-- | apps/codecs/libtremor/vorbisfile.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/codecs/libtremor/vorbisfile.c b/apps/codecs/libtremor/vorbisfile.c index 1e0336603c..50a57affbd 100644 --- a/apps/codecs/libtremor/vorbisfile.c +++ b/apps/codecs/libtremor/vorbisfile.c | |||
@@ -717,13 +717,13 @@ STATICIRAM_NOT_MDCT int _fetch_and_process_packet(OggVorbis_File *vf, | |||
717 | if(result>0){ | 717 | if(result>0){ |
718 | /* got a packet. process it */ | 718 | /* got a packet. process it */ |
719 | granulepos=op.granulepos; | 719 | granulepos=op.granulepos; |
720 | if(!vorbis_synthesis(&vf->vb,&op,1)){ /* lazy check for lazy | 720 | if(!vorbis_synthesis(&vf->vb,&op)){ /* lazy check for lazy |
721 | header handling. The | 721 | header handling. The |
722 | header packets aren't | 722 | header packets aren't |
723 | audio, so if/when we | 723 | audio, so if/when we |
724 | submit them, | 724 | submit them, |
725 | vorbis_synthesis will | 725 | vorbis_synthesis will |
726 | reject them */ | 726 | reject them */ |
727 | 727 | ||
728 | /* suck in the synthesis data and track bitrate */ | 728 | /* suck in the synthesis data and track bitrate */ |
729 | { | 729 | { |
@@ -1444,9 +1444,9 @@ int ov_pcm_seek(OggVorbis_File *vf,ogg_int64_t pos){ | |||
1444 | 1444 | ||
1445 | /* remove the packet from packet queue and track its granulepos */ | 1445 | /* remove the packet from packet queue and track its granulepos */ |
1446 | ogg_stream_packetout(vf->os,NULL); | 1446 | ogg_stream_packetout(vf->os,NULL); |
1447 | vorbis_synthesis(&vf->vb,&op,0); /* set up a vb with | 1447 | vorbis_synthesis_trackonly(&vf->vb,&op); /* set up a vb with |
1448 | only tracking, no | 1448 | only tracking, no |
1449 | pcm_decode */ | 1449 | pcm_decode */ |
1450 | vorbis_synthesis_blockin(&vf->vd,&vf->vb); | 1450 | vorbis_synthesis_blockin(&vf->vd,&vf->vb); |
1451 | 1451 | ||
1452 | /* end of logical stream case is hard, especially with exact | 1452 | /* end of logical stream case is hard, especially with exact |