| .. | .. |
|---|
| 125 | 125 | |
|---|
| 126 | 126 | cc = buf[3] & 0x0f; |
|---|
| 127 | 127 | ccok = ((feed->cc + 1) & 0x0f) == cc; |
|---|
| 128 | | - feed->cc = cc; |
|---|
| 129 | 128 | if (!ccok) { |
|---|
| 130 | 129 | set_buf_flags(feed, DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED); |
|---|
| 131 | 130 | dprintk_sect_loss("missed packet: %d instead of %d!\n", |
|---|
| 132 | 131 | cc, (feed->cc + 1) & 0x0f); |
|---|
| 133 | 132 | } |
|---|
| 133 | + feed->cc = cc; |
|---|
| 134 | 134 | |
|---|
| 135 | 135 | if (buf[1] & 0x40) // PUSI ? |
|---|
| 136 | 136 | feed->peslen = 0xfffa; |
|---|
| .. | .. |
|---|
| 310 | 310 | |
|---|
| 311 | 311 | cc = buf[3] & 0x0f; |
|---|
| 312 | 312 | ccok = ((feed->cc + 1) & 0x0f) == cc; |
|---|
| 313 | | - feed->cc = cc; |
|---|
| 314 | 313 | |
|---|
| 315 | 314 | if (buf[3] & 0x20) { |
|---|
| 316 | 315 | /* adaption field present, check for discontinuity_indicator */ |
|---|
| .. | .. |
|---|
| 346 | 345 | feed->pusi_seen = false; |
|---|
| 347 | 346 | dvb_dmx_swfilter_section_new(feed); |
|---|
| 348 | 347 | } |
|---|
| 348 | + feed->cc = cc; |
|---|
| 349 | 349 | |
|---|
| 350 | 350 | if (buf[1] & 0x40) { |
|---|
| 351 | 351 | /* PUSI=1 (is set), section boundary is here */ |
|---|