descrambler: fix the wrong cut on the buffered data
This commit is contained in:
parent
c54f9b0ca7
commit
02a9b02e1c
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ descrambler_descramble ( service_t *t,
|
|||
((mpegts_service_t *)t)->s_dvb_svcname);
|
||||
if (key_late(dr, ki)) {
|
||||
if (ecm_reset(t, dr)) {
|
||||
sbuf_cut(&dr->dr_buf, tsb2 - tsb);
|
||||
sbuf_cut(&dr->dr_buf, tsb2 - dr->dr_buf.sb_data);
|
||||
flush_data = 1;
|
||||
goto next;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue