projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7080533
)
alacdec: remove unneeded local variable
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sun, 9 Oct 2011 18:02:21 +0000
(14:02 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 26 Oct 2011 15:50:17 +0000
(11:50 -0400)
libavcodec/alac.c
patch
|
blob
|
history
diff --git
a/libavcodec/alac.c
b/libavcodec/alac.c
index
3b79645
..
5ff8cad
100644
(file)
--- 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++) {