Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
another coverity fix for the cc checking code, fixes #2724
  • Loading branch information
perexg committed Mar 22, 2015
1 parent c308e17 commit db5cf2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/mpegts_input.c
Expand Up @@ -1103,7 +1103,7 @@ mpegts_input_process
for (tsb2 = tsb, tsb2_end = tsb + llen, cc2 = mp->mp_cc;
tsb2 < tsb2_end; tsb2 += 188) {
cc = tsb2[3] & 0x0f;
if (cc2 != -1 && cc2 != cc) {
if (cc2 != 0xff && cc2 != cc) {
tvhtrace("mpegts", "pid %04X cc err %2d != %2d", pid, cc, cc2);
++mmi->mmi_stats.cc;
}
Expand Down

0 comments on commit db5cf2a

Please sign in to comment.