]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
psi: Assume that elementary stream type 0x81 is AC3 without relying on any further...
authorAndreas Öman <andreas@lonelycoder.com>
Thu, 24 Jun 2010 11:46:52 +0000 (11:46 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Thu, 24 Jun 2010 11:46:52 +0000 (11:46 +0000)
Fixes ticket #217

src/psi.c

index c0cd9057480fcc3e49575b4aec9342f977c86c44..9eabd384c9a80b124c9f9361720f6273661d7cab 100644 (file)
--- a/src/psi.c
+++ b/src/psi.c
@@ -511,10 +511,13 @@ psi_parse_pmt(th_transport_t *t, const uint8_t *ptr, int len, int chksvcid,
 
     case 0x03:
     case 0x04:
-    case 0x81:
       hts_stream_type = SCT_MPEG2AUDIO;
       break;
 
+    case 0x81:
+      hts_stream_type = SCT_AC3;
+      break;
+
     case 0x11:
       hts_stream_type = SCT_AAC;
       break;