[FFmpeg-cvslog] r12884 - trunk/libavcodec/alac.c
vitor
subversion
Thu Apr 17 23:03:26 CEST 2008
Author: vitor
Date: Thu Apr 17 23:03:26 2008
New Revision: 12884
Log:
Remove another unneeded var from context
Modified:
trunk/libavcodec/alac.c
Modified: trunk/libavcodec/alac.c
==============================================================================
--- trunk/libavcodec/alac.c (original)
+++ trunk/libavcodec/alac.c Thu Apr 17 23:03:26 2008
@@ -68,7 +68,6 @@ typedef struct {
* set this to 1 */
int context_initialized;
- int samplesize;
int numchannels;
int bytespersample;
@@ -587,9 +586,8 @@ static av_cold int alac_decode_init(AVCo
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;
}
More information about the ffmpeg-cvslog
mailing list