Permalink
Browse files

Fix assignment where comparison was intended in FreeSurround::getLate…

…ncy(). Caught by Coverity
  • Loading branch information...
1 parent 02f5463 commit c85ed06d244eaf02b29771d5122166e3d8ef19be @stuartm stuartm committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythfreesurround/freesurround.cpp
@@ -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;
}

0 comments on commit c85ed06

Please sign in to comment.