# HG changeset patch # User vitor # Date 1208466206 0 # Node ID b3d2659c756ba08b2b3e0ea5c50893e73721a24d # Parent 981e2f43ea3682ec8d834fd40e3a580c5156da9e Remove another unneeded var from context diff -r 981e2f43ea36 -r b3d2659c756b alac.c --- a/alac.c Thu Apr 17 19:48:02 2008 +0000 +++ b/alac.c Thu Apr 17 21:03:26 2008 +0000 @@ -68,7 +68,6 @@ * set this to 1 */ int context_initialized; - int samplesize; int numchannels; int bytespersample; @@ -587,9 +586,8 @@ alac->avctx = avctx; alac->context_initialized = 0; - alac->samplesize = alac->avctx->bits_per_sample; alac->numchannels = alac->avctx->channels; - alac->bytespersample = (alac->samplesize / 8) * alac->numchannels; + alac->bytespersample = (avctx->bits_per_sample / 8) * alac->numchannels; return 0; }