Fix bustage from c152d602.
authorTimothy B. Terriberry <tterribe@xiph.org>
Wed, 8 May 2013 21:08:42 +0000 (14:08 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Wed, 8 May 2013 21:08:42 +0000 (14:08 -0700)
commitc9f857ef60fcd6331a47627822ba07f5fb9dd1a0
treedce7c883053eca122855060628165800706779b0
parentc152d602aa6f68b4bc9483393985511bb2d83e86
Fix bustage from c152d602.

silk_setup_resamples() was using x_bufFIX for two purposes, and I
 only allocated enough space for one of them.
This patch also switches to slightly more descriptive variable
 names than nSamples_temp and computes the resampler input/ouput
 sizes in a way that a little more obviously doesn't have issues
 with fractional samples (and replaces a divide with a variable
 divisor by one with a constant divisor).
silk/control_codec.c