summaryrefslogtreecommitdiffstats
path: root/tremor/synthesis.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:56:01 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:56:01 +0300
commita2037a2effbd4622d0e8336245a9b14c3f886bde (patch)
treebd2face6dd36d2663197b23a33da9e9b2814f70c /tremor/synthesis.c
parent0c2773a709276681575d2507aa60ee85c2d0b850 (diff)
parent43079c51daa8c12b0a44e5ad8022c979dd9e8336 (diff)
downloadmpv-a2037a2effbd4622d0e8336245a9b14c3f886bde.tar.bz2
mpv-a2037a2effbd4622d0e8336245a9b14c3f886bde.tar.xz
Merge svn changes up to r29412
Diffstat (limited to 'tremor/synthesis.c')
-rw-r--r--tremor/synthesis.c8
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 */