changeset 32939:26bbfa0249e0

Do not run the AC-3 parser on DNET (byte-swapped AC-3), that will break badly.
author reimar
date Sat, 05 Mar 2011 12:03:03 +0000
parents 29ce708287dd
children 5bab4a2e1b59
files libmpdemux/demuxer.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Fri Mar 04 13:58:48 2011 +0000
+++ b/libmpdemux/demuxer.c	Sat Mar 05 12:03:03 2011 +0000
@@ -476,12 +476,15 @@
         codec_id = CODEC_ID_AAC_LATM;
         break;
     case 0x2000:
+        codec_id = CODEC_ID_AC3;
+        break;
     case 0x332D6361:
     case 0x332D4341:
     case 0x20736D:
     case MKTAG('d', 'n', 'e', 't'):
     case MKTAG('s', 'a', 'c', '3'):
-        codec_id = CODEC_ID_AC3;
+        // DNET/byte-swapped AC-3 - there is no parser for that yet
+        //codec_id = CODEC_ID_DNET;
         break;
     case MKTAG('E', 'A', 'C', '3'):
         codec_id = CODEC_ID_EAC3;