# HG changeset patch # User ods15 # Date 1159769271 0 # Node ID ee9379fc77a9c83bd4ed83cb39663bb62c489e0b # Parent b98ea563e9bc62fb3aac37f981c78d2784f910b4 Original Commit: r62 | ods15 | 2006-09-25 13:12:07 +0300 (Mon, 25 Sep 2006) | 2 lines api change for floor_encode diff -r b98ea563e9bc -r ee9379fc77a9 vorbis_enc.c --- a/vorbis_enc.c Mon Oct 02 06:07:49 2006 +0000 +++ b/vorbis_enc.c Mon Oct 02 06:07:51 2006 +0000 @@ -664,7 +664,7 @@ } } -static void floor_encode(venc_context_t * venc, floor_t * fc, PutBitContext * pb, float * floor, int samples) { +static void floor_encode(venc_context_t * venc, floor_t * fc, PutBitContext * pb, int * posts, float * floor, int samples) { int range = 255 / fc->multiplier + 1; int j; put_bits(pb, 1, 1); // non zero @@ -845,7 +845,7 @@ floor_t * fc = &venc->floors[mapping->floor[mapping->mux[i]]]; int posts[fc->values]; floor_fit(venc, fc, &venc->coeffs[i * samples], posts, samples); - floor_encode(venc, fc, &pb, &venc->floor[i * samples], samples); + floor_encode(venc, fc, &pb, posts, &venc->floor[i * samples], samples); } for (i = 0; i < venc->channels; i++) {