aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-17 20:21:07 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-17 20:21:07 +0100
commit1dcd6b84bdc2a77547ea75363fe821381cdc39f6 (patch)
treecd285bdd9bbeda1e4c7190f2c859ce0bf4cdc419 /src
parent1e4f917e159bbe50f21b7107d658152b0593e6a1 (diff)
downloaddabmux-1dcd6b84bdc2a77547ea75363fe821381cdc39f6.tar.gz
dabmux-1dcd6b84bdc2a77547ea75363fe821381cdc39f6.tar.bz2
dabmux-1dcd6b84bdc2a77547ea75363fe821381cdc39f6.zip
Remove unused variables
Diffstat (limited to 'src')
-rw-r--r--src/DabMux.cpp11
-rw-r--r--src/dabInputDabplusFifo.cpp2
-rw-r--r--src/dabInputZmq.cpp2
3 files changed, 0 insertions, 15 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 714aeff..f015927 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -132,15 +132,6 @@ static unsigned char Padding_FIB[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
-/******************************************************************************
- ************* Tables pour l'identification des fichiers mp2 ****************
- *****************************************************************************/
-const unsigned short Bit_Rate_SpecifiedTable[16] = {
- 0, 32, 48, 56, 64, 80, 96, 112,
- 128, 160, 192, 224, 256, 320, 384, 0
-};
-
-
const unsigned char ProtectionLevelTable[64] = {
4, 3, 2, 1, 0, 4, 3, 2,
@@ -315,8 +306,6 @@ int main(int argc, char *argv[])
int statsserverport = 0;
- unsigned long time_seconds = 0;
-
struct timeval mnsc_time;
/* TODO:
diff --git a/src/dabInputDabplusFifo.cpp b/src/dabInputDabplusFifo.cpp
index 50749c3..d1369c5 100644
--- a/src/dabInputDabplusFifo.cpp
+++ b/src/dabInputDabplusFifo.cpp
@@ -151,8 +151,6 @@ int dabInputDabplusFifoUnlock(void* args)
int dabInputDabplusFifoReadFrame(dabInputOperations* ops, void* args,
void* buffer, int size)
{
- dabInputDabplusFifoData* data = (dabInputDabplusFifoData*)args;
-
return ops->read(args, buffer, size);
}
diff --git a/src/dabInputZmq.cpp b/src/dabInputZmq.cpp
index de0a4fe..95446d1 100644
--- a/src/dabInputZmq.cpp
+++ b/src/dabInputZmq.cpp
@@ -198,7 +198,6 @@ int DabInputZmqBase::readFrame(void* buffer, int size)
// Read a MPEG frame from the socket, and push to list
int DabInputZmqMPEG::readFromSocket(int framesize)
{
- int rc;
bool messageReceived;
zmq::message_t msg;
@@ -252,7 +251,6 @@ int DabInputZmqMPEG::readFromSocket(int framesize)
// and push to list
int DabInputZmqAAC::readFromSocket(int framesize)
{
- int rc;
bool messageReceived;
zmq::message_t msg;