Skip to content

Commit

Permalink
Coverity fix
Browse files Browse the repository at this point in the history
Remove unused private member.
Remove false-positive. channels would have been initialised during the call to putFrames

Coverity-Id: 700822 and 700821
  • Loading branch information
jyavenard committed Jun 21, 2013
1 parent 96f1f54 commit 08c5721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythfreesurround/freesurround.cpp
Expand Up @@ -145,7 +145,8 @@ FreeSurround::FreeSurround(uint srate, bool moviemode, SurroundMode smode) :
processed(true),
processed_size(0),
surround_mode(smode),
latency_frames(0)
latency_frames(0),
channels(0)
{
LOG(VB_AUDIO, LOG_DEBUG,
QString("FreeSurround::FreeSurround rate %1 moviemode %2")
Expand Down
1 change: 0 additions & 1 deletion mythtv/libs/libmythfreesurround/freesurround.h
Expand Up @@ -67,7 +67,6 @@ class FreeSurround
int32_t phasemode; // phase shifting mode
int32_t steering; // steering mode (0=simple, 1=linear)
int32_t front_sep, rear_sep; // front/rear stereo separation
float gain; // total gain
// (default) constructor
fsurround_params(int32_t center_width=100, int32_t dimension=0);
} params;
Expand Down

0 comments on commit 08c5721

Please sign in to comment.