From 25148b7b054886485cdedff74587b06d2420f83c Mon Sep 17 00:00:00 2001
From: Klaus Schmidinger <vdr@tvdr.de>
Date: Thu, 24 Dec 2009 11:56:50 +0100
Subject: Fixed handling STREAMTYPE_11172_AUDIO in cPatPmtParser::ParsePmt()

---
 HISTORY | 1 +
 remux.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/HISTORY b/HISTORY
index 554594af..922709ec 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6225,3 +6225,4 @@ Video Disk Recorder Revision History
 - Channel names containing commas are now handled correctly in channels.conf.
   If a channel's short name contains a comma, it is replaced with a '.'.
 - cDevice now logs the device number when a new device is created.
+- Fixed handling STREAMTYPE_11172_AUDIO in cPatPmtParser::ParsePmt().
diff --git a/remux.c b/remux.c
index d2254751..168a3962 100644
--- a/remux.c
+++ b/remux.c
@@ -4,7 +4,7 @@
  * See the main source file 'vdr.c' for copyright information and
  * how to reach the author.
  *
- * $Id: remux.c 2.33 2009/12/06 14:04:08 kls Exp $
+ * $Id: remux.c 2.34 2009/12/24 11:36:38 kls Exp $
  */
 
 #include "remux.h"
@@ -492,11 +492,11 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length)
          switch (stream.getStreamType()) {
            case 0x01: // STREAMTYPE_11172_VIDEO
            case 0x02: // STREAMTYPE_13818_VIDEO
-           case 0x03: // STREAMTYPE_11172_AUDIO
            case 0x1B: // MPEG4
                       vpid = stream.getPid();
                       vtype = stream.getStreamType();
                       break;
+           case 0x03: // STREAMTYPE_11172_AUDIO
            case 0x04: // STREAMTYPE_13818_AUDIO
                       {
                       if (NumApids < MAXAPIDS) {
-- 
cgit v1.2.3