mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-14 11:20:49 +00:00
Remove another unneeded var from context
Originally committed as revision 12884 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4c63c597d8
commit
010db10393
1 changed files with 1 additions and 3 deletions
|
|
@ -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(AVCodecContext * avctx)
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue