summaryrefslogtreecommitdiffstats
path: root/src/mot-encoder.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-03 19:56:46 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-03 19:57:59 +0200
commit4d23f8e4f62bb7b270aad0da489e5779d451aa45 (patch)
treea14d3920ea8e47037aa9dc471a5f1ceb94977abe /src/mot-encoder.cpp
parente9d1d1e51c845d963178f6406e3bed36add69f94 (diff)
downloadODR-AudioEnc-4d23f8e4f62bb7b270aad0da489e5779d451aa45.tar.gz
ODR-AudioEnc-4d23f8e4f62bb7b270aad0da489e5779d451aa45.tar.bz2
ODR-AudioEnc-4d23f8e4f62bb7b270aad0da489e5779d451aa45.zip
mot-encoder remove unused variables
Diffstat (limited to 'src/mot-encoder.cpp')
-rw-r--r--src/mot-encoder.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp
index ff577a6..1a5ca1e 100644
--- a/src/mot-encoder.cpp
+++ b/src/mot-encoder.cpp
@@ -171,7 +171,6 @@ int main(int argc, char *argv[])
int len, fidx, ret;
struct dirent *pDirent;
DIR *pDir;
- char dlstext[MAXDLS];
int padlen = 58;
bool erase_after_tx = false;
int sleepdelay = 10;
@@ -425,7 +424,6 @@ RETURN:
void createMotHeader(size_t blobsize, int fidx, unsigned char* mothdr, int* mothdrlen)
{
- int ret;
struct stat s;
char MotHeaderCore[7] = {0x00,0x00,0x00,0x00,0x0D,0x04,0x01};
char MotHeaderExt[19] = {0x85,0x00,0x00,0x00,0x00,0xcc,0x0c,
@@ -813,7 +811,7 @@ void writeMotPAD(int output_fd,
{
unsigned char pad[128];
- int xpadlengthmask, i, j,k, numseg, lastseglen;
+ int xpadlengthmask, i, j, k;
unsigned short int crc;
xpadlengthmask = get_xpadlengthmask(padlen);