diff options
Diffstat (limited to 'res012.c')
-rw-r--r-- | res012.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -127,7 +127,7 @@ int res_inverse(vorbis_dsp_state *vd,vorbis_info_residue *info, for(j=0;j<ch;j++){ int temp=vorbis_book_decode(phrasebook,&vd->opb); - if(oggpack_eop(&vd->opb))goto eopbreak; + if(temp==-1)goto eopbreak; /* this can be done quickly in assembly due to the quotient always being at most six bits */ @@ -191,7 +191,7 @@ int res_inverse(vorbis_dsp_state *vd,vorbis_info_residue *info, /* fetch the partition word */ temp=vorbis_book_decode(phrasebook,&vd->opb); - if(oggpack_eop(&vd->opb))goto eopbreak; + if(temp==-1)goto eopbreak; /* this can be done quickly in assembly due to the quotient always being at most six bits */ |