qt: add missing initializers (CID 1325722)
authorDario Lombardo <lomato@gmail.com>
Mon, 12 Oct 2015 16:55:04 +0000 (18:55 +0200)
committerMichael Mann <mmann78@netscape.net>
Tue, 13 Oct 2015 02:55:20 +0000 (02:55 +0000)
Change-Id: Ie1ed72fe2efe31db1ce5b73ac6e659ba305f4001
Reviewed-on: https://code.wireshark.org/review/10961
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
ui/qt/rtp_audio_stream.cpp

index 5f9c4c8c0ed24d345f828e905f023661a04734fd..68be1ccd4ddd1eec9ecbfda646c80be0b7672c1e 100644 (file)
@@ -45,6 +45,7 @@ static const spx_int16_t visual_sample_rate_ = 1000;
 
 RtpAudioStream::RtpAudioStream(QObject *parent, _rtp_stream_info *rtp_stream) :
     QObject(parent),
+    last_sequence_(0),
     decoders_hash_(rtp_decoder_hash_table_new()),
     global_start_rel_time_(0.0),
     start_abs_offset_(0.0),
@@ -53,7 +54,8 @@ RtpAudioStream::RtpAudioStream(QObject *parent, _rtp_stream_info *rtp_stream) :
     audio_out_rate_(0),
     audio_resampler_(0),
     audio_output_(0),
-    max_sample_val_(1)
+    max_sample_val_(1),
+    color_(0)
 {
     copy_address(&src_addr_, &rtp_stream->src_addr);
     src_port_ = rtp_stream->src_port;