aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-03-07 10:51:01 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-03-07 10:51:01 +0100
commit29fee943a37916ee205e7b9fd3ba295ef5f00194 (patch)
treea05e5241a3c78c348eaad74a4ccd1022c86a8d50
parent18732791970a05738eadaa13d7aa96c1329db3d2 (diff)
downloadetisnoop-29fee943a37916ee205e7b9fd3ba295ef5f00194.tar.gz
etisnoop-29fee943a37916ee205e7b9fd3ba295ef5f00194.tar.bz2
etisnoop-29fee943a37916ee205e7b9fd3ba295ef5f00194.zip
Properly initialise eti_analsyse_config_t
-rw-r--r--etisnoop.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/etisnoop.cpp b/etisnoop.cpp
index 77ac799..38aad03 100644
--- a/etisnoop.cpp
+++ b/etisnoop.cpp
@@ -151,6 +151,15 @@ struct FIG0_13_shortAppInfo
using namespace std;
struct eti_analyse_config_t {
+ eti_analyse_config_t() :
+ etifd(nullptr),
+ ignore_error(false),
+ streams_to_decode(),
+ analyse_fic_carousel(false),
+ analyse_fig_rates(false),
+ analyse_fig_rates_per_second(false),
+ decode_watermark(false) {}
+
FILE* etifd;
bool ignore_error;
std::map<int, DabPlusSnoop> streams_to_decode;