summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-05-15 01:56:11 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-29 19:48:29 -0700
commit492e56cbdc727c41c9ac685a99f11f972ec31291 (patch)
tree91158e6b1c7ef5a9622006dc56f9cd5e233eaa2f
parent4fdd88ddf5a6b9d5d3b3b2626f0328b2ba97fa44 (diff)
sbc: Remove unused variable
-rw-r--r--sbc/sbcinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbc/sbcinfo.c b/sbc/sbcinfo.c
index 6d92679..8cfb54a 100644
--- a/sbc/sbcinfo.c
+++ b/sbc/sbcinfo.c
@@ -174,7 +174,7 @@ static int analyze_file(char *filename)
unsigned char buf[64];
double rate;
int bitpool[SIZE], frame_len[SIZE];
- int subbands, blocks, freq, mode, method;
+ int subbands, blocks, freq, method;
int n, p1, p2, fd, size, num;
ssize_t len;
unsigned int count;
@@ -199,7 +199,6 @@ static int analyze_file(char *filename)
subbands = (hdr.subbands + 1) * 4;
blocks = (hdr.blocks + 1) * 4;
freq = hdr.sampling_frequency;
- mode = hdr.channel_mode;
method = hdr.allocation_method;
count = calc_frame_len(&hdr);