Module: libav
Branch: master
Commit: b46e58f7410488f49b22d0bc5d32479f352a8d61

Author:    Justin Ruggles <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Sun Oct  9 14:02:21 2011 -0400

alacdec: remove unneeded local variable

---

 libavcodec/alac.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 3b79645..5ff8cad 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++) {

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to