]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
PID is 13 bit. Ok?
authorAndreas Öman <andreas@lonelycoder.com>
Sat, 15 Aug 2009 08:52:16 +0000 (08:52 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sat, 15 Aug 2009 08:52:16 +0000 (08:52 +0000)
src/rawtsinput.c

index c91ffbd623fa2282b87357d586ab3e50f63ad2d0..acc06b75c44e145806dca2975db5a3688f5ad0a6 100644 (file)
@@ -237,7 +237,7 @@ process_ts_packet(rawts_t *rt, uint8_t *tsb)
   uint16_t pid;
   th_transport_t *t;
 
-  pid = ((tsb[1] & 0xf) << 8) | tsb[2];
+  pid = ((tsb[1] & 0x1f) << 8) | tsb[2];
 
   if(pid == 0) {
     /* PAT */