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:
79cbcde
)
sbc: Remove unused variable.
author
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Wed, 1 Apr 2009 13:47:39 +0000
(10:47 -0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 30 Jul 2012 02:48:28 +0000
(19:48 -0700)
sbc/sbcdec.c
patch
|
blob
|
history
diff --git
a/sbc/sbcdec.c
b/sbc/sbcdec.c
index
b6635ed
..
4973790
100644
(file)
--- a/
sbc/sbcdec.c
+++ b/
sbc/sbcdec.c
@@
-47,7
+47,6
@@
static void decode(char *filename, char *output, int tofile)
{
unsigned char buf[BUF_SIZE], *stream;
struct stat st;
- off_t filesize;
sbc_t sbc;
int fd, ad, pos, streamlen, framelen, count, len;
int format = AFMT_S16_BE, frequency, channels;
@@
-59,7
+58,6
@@
static void decode(char *filename, char *output, int tofile)
return;
}
- filesize = st.st_size;
stream = malloc(st.st_size);
if (!stream) {