descrambler: remove the extra (not required) condition < 0 for uint16_t

This commit is contained in:
Jaroslav Kysela 2014-09-20 21:58:14 +02:00
parent 1b6c2275a6
commit 6a86c966f3

View file

@ -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)