Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
AudioOutput: Fix coverity ID 700792 Uninitialized scalar field
In AudioOutputBase::AudioOutputBase(): m_previousbpf is not initialized by
the constructor.
  • Loading branch information
Paul Harrison committed Jun 8, 2013
1 parent e74a61b commit 30a7f50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmyth/audio/audiooutputbase.cpp
Expand Up @@ -104,7 +104,8 @@ AudioOutputBase::AudioOutputBase(const AudioSettings &settings) :
memory_corruption_test2(0xdeadbeef),
memory_corruption_test3(0xdeadbeef),
m_configure_succeeded(false),m_length_last_data(0),
m_spdifenc(NULL), m_forcedprocessing(false)
m_spdifenc(NULL), m_forcedprocessing(false),
m_previousbpf(0)
{
src_in = (float *)AOALIGN(src_in_buf);
memset(&src_data, 0, sizeof(SRC_DATA));
Expand Down

0 comments on commit 30a7f50

Please sign in to comment.