aboutsummaryrefslogtreecommitdiffstats
path: root/dabplussnoop.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-21 07:52:14 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-21 07:52:14 +0100
commit8895b894cedbda048bb5d9fdb6591737fd4165ff (patch)
tree035235d15f88241ee0e90c1154431bb4c345824c /dabplussnoop.h
parent77808453cd8e23b08dd15a997161195d5c482b4f (diff)
downloadetisnoop-8895b894cedbda048bb5d9fdb6591737fd4165ff.tar.gz
etisnoop-8895b894cedbda048bb5d9fdb6591737fd4165ff.tar.bz2
etisnoop-8895b894cedbda048bb5d9fdb6591737fd4165ff.zip
fix segfault, dump dabp
Diffstat (limited to 'dabplussnoop.h')
-rw-r--r--dabplussnoop.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dabplussnoop.h b/dabplussnoop.h
index b77e00e..7d7ee04 100644
--- a/dabplussnoop.h
+++ b/dabplussnoop.h
@@ -88,7 +88,8 @@ class DabPlusSnoop
DabPlusSnoop() :
m_index(0),
m_subchannel_index(0),
- m_data(0) {}
+ m_data(0),
+ m_raw_data_stream_fd(NULL) {}
void set_subchannel_index(unsigned subchannel_index)
{
@@ -123,6 +124,8 @@ class DabPlusSnoop
unsigned m_subchannel_index;
std::vector<uint8_t> m_data;
+
+ FILE* m_raw_data_stream_fd;
};
#endif