Browse Source

dtv: Explicitly initialize PAT and PMT section containers

Default-construct the PAT and PMT section containers in
DTVRecorder's constructor.

Identified by cppcheck.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.1.0
Robin Getz 4 weeks ago
parent
commit
cbaa53b6fb
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 2
      sdrbase/dtv/dtvrecorder.cpp

2
sdrbase/dtv/dtvrecorder.cpp

@ -27,6 +27,8 @@ DTVRecorder::DTVRecorder() : @@ -27,6 +27,8 @@ DTVRecorder::DTVRecorder() :
m_mode(Multiplex),
m_serviceId(0),
m_started(false),
m_patSections(),
m_pmtSections(),
m_transportStreamId(-1),
m_pmtPid(-1),
m_pmtVersion(-1),

Loading…
Cancel
Save