Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
descrambler: remove the extra (not required) condition < 0 for uint16_t
  • Loading branch information
perexg committed Sep 20, 2014
1 parent 1b6c227 commit 6a86c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/descrambler/capmt.c
Expand Up @@ -839,7 +839,7 @@ capmt_set_filter(capmt_t *capmt, int adapter, sbuf_t *sb, int offset)
if (adapter >= MAX_CA ||
demux_index >= MAX_INDEX ||
filter_index >= MAX_FILTER ||
(pid < 0 || pid > 8191))
pid > 8191)
return;
cf = &capmt->capmt_demuxes.filters[demux_index];
if (cf->max && cf->adapter != adapter)
Expand Down

0 comments on commit 6a86c96

Please sign in to comment.