summaryrefslogtreecommitdiff
path: root/apps/codecs/Tremor/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/Tremor/block.c')
-rw-r--r--apps/codecs/Tremor/block.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/Tremor/block.c b/apps/codecs/Tremor/block.c
index a4571c37d4..6f88fb812c 100644
--- a/apps/codecs/Tremor/block.c
+++ b/apps/codecs/Tremor/block.c
@@ -172,8 +172,12 @@ static int _vds_init(vorbis_dsp_state *v,vorbis_info *vi){
v->pcm_storage=ci->blocksizes[1];
v->pcm=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->pcm));
v->pcmret=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->pcmret));
+
+ // pbv: allow for extra padding for windowing
for(i=0;i<vi->channels;i++)
v->pcm[i]=(ogg_int32_t *)_ogg_calloc(v->pcm_storage,sizeof(*v->pcm[i]));
+ // v->pcm[i]=(ogg_int32_t *)_ogg_calloc(v->pcm_storage,sizeof(*v->pcm[i]));
+
/* all 1 (large block) or 0 (small block) */
/* explicitly set for the sake of clarity */