aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-09 14:02:21 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-26 11:50:17 -0400
commitb46e58f7410488f49b22d0bc5d32479f352a8d61 (patch)
treea8a54518573a2f25945a7dd2a3914d37f1733ee8
parent7080533cda2cccf980326b0942de8ff046619fd4 (diff)
downloadffmpeg-b46e58f7410488f49b22d0bc5d32479f352a8d61.tar.gz
alacdec: remove unneeded local variable
-rw-r--r--libavcodec/alac.c7
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++) {