summaryrefslogtreecommitdiff
path: root/lib/floor0.c
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2000-02-23 11:22:47 +0000
committerMonty <xiphmont@xiph.org>2000-02-23 11:22:47 +0000
commitee5a2fcc882741131218554e7d393e23c3ad926b (patch)
tree85bfeceb05841547b69fdca2e2450faaeb1d0ae2 /lib/floor0.c
parent6533d0e24b37f3b9097c58784d556545d5827f7c (diff)
downloadlibvorbis-git-ee5a2fcc882741131218554e7d393e23c3ad926b.tar.gz
fixes to prevent segfaults
svn path=/trunk/vorbis/; revision=271
Diffstat (limited to 'lib/floor0.c')
-rw-r--r--lib/floor0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/floor0.c b/lib/floor0.c
index 155a6e00..95bf4822 100644
--- a/lib/floor0.c
+++ b/lib/floor0.c
@@ -12,7 +12,7 @@
********************************************************************
function: floor backend 0 implementation
- last mod: $Id: floor0.c,v 1.10 2000/02/23 09:24:27 xiphmont Exp $
+ last mod: $Id: floor0.c,v 1.11 2000/02/23 11:22:44 xiphmont Exp $
********************************************************************/
@@ -191,11 +191,11 @@ static int forward(vorbis_block *vb,vorbis_look_floor *i,
/* take the coefficients back to a spectral envelope curve */
vorbis_lsp_to_lpc(out,out,look->m);
vorbis_lpc_to_curve(out,out,amp,&look->lpclook);
- fprintf(stderr,"Encoded %d LSP coefficients in %d bits\n",look->m,bits);
+ fprintf(stderr,"Encoded %ld LSP coefficients in %ld bits\n",look->m,bits);
return(1);
}
- fprintf(stderr,"Encoded %d LSP coefficients in %d bits\n",look->m,bits);
+ fprintf(stderr,"Encoded %ld LSP coefficients in %ld bits\n",look->m,bits);
memset(out,0,sizeof(double)*look->n);
return(0);