Skip to content

Commit

Permalink
AudioOutputDigitalEncoder: Fix Coverity 700793. Uninitialized scalar …
Browse files Browse the repository at this point in the history
…field.
  • Loading branch information
stuartm committed Jun 10, 2013
1 parent 173466f commit 6d46881
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/libs/libmyth/audio/audiooutputdigitalencoder.cpp
Expand Up @@ -39,6 +39,9 @@ AudioOutputDigitalEncoder::AudioOutputDigitalEncoder(void) :
in_size = INBUFSIZE;
}
inp = (inbuf_t *)av_malloc(INBUFSIZE);

for (int i = 0; i < FF_MIN_BUFFER_SIZE; i++)
m_encodebuffer[i] = 0;
}

AudioOutputDigitalEncoder::~AudioOutputDigitalEncoder()
Expand Down

0 comments on commit 6d46881

Please sign in to comment.