Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of github.com:MythTV/mythtv
  • Loading branch information
Kenni Lund committed Mar 21, 2012
2 parents dfbb6d3 + 414159d commit 495ef16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mythtv/programs/mythcommflag/ClassicCommDetector.cpp
Expand Up @@ -2229,7 +2229,9 @@ bool ClassicCommDetector::FrameIsInBreakMap(
}
}

for (uint64_t i = f; i >= 0; i--)
// We want from f down to 0, but without wrapping the counter to negative
// on an unsigned counter.
for (uint64_t i = (f + 1); i-- > 0; )
{
if (breakMap.contains(i))
{
Expand Down

0 comments on commit 495ef16

Please sign in to comment.