diff options
Diffstat (limited to 'tremor/synthesis.c')
-rw-r--r-- | tremor/synthesis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tremor/synthesis.c b/tremor/synthesis.c index 6b33cfbde1..499111e363 100644 --- a/tremor/synthesis.c +++ b/tremor/synthesis.c @@ -32,7 +32,7 @@ int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){ codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; oggpack_buffer *opb=&vb->opb; int type,mode,i; - + /* first things first. Make sure decode is ready */ _vorbis_block_ripcord(vb); oggpack_readinit(opb,op->packet,op->bytes); @@ -46,7 +46,7 @@ int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){ /* read our mode and pre/post windowsize */ mode=oggpack_read(opb,b->modebits); if(mode==-1)return(OV_EBADPACKET); - + vb->mode=mode; vb->W=ci->mode_param[mode]->blockflag; if(vb->W){ @@ -57,7 +57,7 @@ int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){ vb->lW=0; vb->nW=0; } - + /* more setup */ vb->granulepos=op->granulepos; vb->sequence=op->packetno-3; /* first block is third packet */ @@ -79,7 +79,7 @@ long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op){ codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; oggpack_buffer opb; int mode; - + oggpack_readinit(&opb,op->packet,op->bytes); /* Check the packet type */ |