another coverity fix for the cc checking code, fixes #2724
This commit is contained in:
parent
c308e1705e
commit
db5cf2adff
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue