From b39078d316bc0476142ad4909ff0d97e5001eafd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sat, 26 Sep 2009 08:20:21 +0000 Subject: [PATCH] Actually, only set tht_scrambled_seen if tht_scrambled is set --- src/tsdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdemux.c b/src/tsdemux.c index 0812f192..adc27eb0 100644 --- a/src/tsdemux.c +++ b/src/tsdemux.c @@ -213,7 +213,7 @@ ts_recv_packet1(th_transport_t *t, uint8_t *tsb) (t->tht_scrambled_seen && st->st_type != SCT_CA && st->st_type != SCT_PAT && st->st_type != SCT_PMT)) { - t->tht_scrambled_seen = 1; + t->tht_scrambled_seen = tht_scrambled; /* scrambled stream */ n = m = 0;