[MPlayer-cvslog] r33027 - trunk/libmpdemux/demuxer.c

reimar subversion at mplayerhq.hu
Sat Mar 5 13:09:25 CET 2011


Author: reimar
Date: Sat Mar  5 13:09:25 2011
New Revision: 33027

Log:
100l, actually only dnet tag indicates byte-swapped AC-3.

Modified:
   trunk/libmpdemux/demuxer.c

Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c	Sat Mar  5 13:03:03 2011	(r33026)
+++ trunk/libmpdemux/demuxer.c	Sat Mar  5 13:09:25 2011	(r33027)
@@ -476,13 +476,13 @@ static void allocate_parser(AVCodecConte
         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;
+        break;
+    case MKTAG('d', 'n', 'e', 't'):
         // DNET/byte-swapped AC-3 - there is no parser for that yet
         //codec_id = CODEC_ID_DNET;
         break;


More information about the MPlayer-cvslog mailing list