Skip to content

Commit

Permalink
Fix assignment where comparison was intended in FreeSurround::getLate…
Browse files Browse the repository at this point in the history
…ncy(). Caught by Coverity

(cherry picked from commit c85ed06)
  • Loading branch information
stuartm committed May 18, 2012
1 parent da5ea5f commit fb66b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythfreesurround/freesurround.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ void FreeSurround::process_block()
long long FreeSurround::getLatency()
{
// returns in usec
if (latency_frames = 0)
if (latency_frames == 0)
return 0;
return decoder ? ((latency_frames + in_count)*1000000)/(2*srate) : 0;
}
Expand Down

0 comments on commit fb66b95

Please sign in to comment.