Merge remote-tracking branch 'origin/pr/186'

This commit is contained in:
Adam Sutton 2012-12-30 12:23:54 +00:00
commit c43e59f9eb

View file

@ -248,7 +248,7 @@ ts_recv_packet1(service_t *t, const uint8_t *tsb, int64_t *pcrp)
m++;
}
if(!error) {
if(!error && t->s_scrambled != 0) {
if(n == 0) {
service_set_streaming_status_flags(t, TSS_NO_DESCRAMBLER);
} else if(m == n) {