OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-sbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fdd88d
)
sbc: Remove unused variable
author
Johan Hedberg
<johan.hedberg@intel.com>
Sat, 14 May 2011 22:56:11 +0000
(
01:56
+0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 30 Jul 2012 02:48:29 +0000
(19:48 -0700)
sbc/sbcinfo.c
patch
|
blob
|
history
diff --git
a/sbc/sbcinfo.c
b/sbc/sbcinfo.c
index
6d92679
..
8cfb54a
100644
(file)
--- 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, m
ode, m
ethod;
+ 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);