diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-09 14:02:21 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-26 11:50:17 -0400 |
commit | b46e58f7410488f49b22d0bc5d32479f352a8d61 (patch) | |
tree | a8a54518573a2f25945a7dd2a3914d37f1733ee8 | |
parent | 7080533cda2cccf980326b0942de8ff046619fd4 (diff) | |
download | ffmpeg-b46e58f7410488f49b22d0bc5d32479f352a8d61.tar.gz |
alacdec: remove unneeded local variable
-rw-r--r-- | libavcodec/alac.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 3b79645ce1..5ff8cad8b4 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -484,11 +484,8 @@ static int alac_decode_frame(AVCodecContext *avctx, if (alac->setinfo_sample_size <= 16) { for (i = 0; i < outputsamples; i++) for (chan = 0; chan < channels; chan++) { - int32_t audiobits; - - audiobits = get_sbits_long(&alac->gb, alac->setinfo_sample_size); - - alac->outputsamples_buffer[chan][i] = audiobits; + alac->outputsamples_buffer[chan][i] = get_sbits_long(&alac->gb, + alac->setinfo_sample_size); } } else { for (i = 0; i < outputsamples; i++) { |