aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-04-01 10:47:39 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-29 19:48:28 -0700
commit99826199f3327d810700c2ef164cd45394c9f8df (patch)
treebe642764e4acaa9f31374becfd36166473f1d562
parent79cbcdea9af992e8b24bd711026a83bb23ff800a (diff)
sbc: Remove unused variable.
-rw-r--r--sbc/sbcdec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbc/sbcdec.c b/sbc/sbcdec.c
index b6635ed..4973790 100644
--- 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) {