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

reimar subversion at mplayerhq.hu
Sun Jan 24 21:05:28 CET 2010


Author: reimar
Date: Sun Jan 24 21:05:28 2010
New Revision: 30427

Log:
Add support for parsing MLP and TrueHD.

Modified:
   trunk/libmpdemux/demuxer.c

Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c	Sun Jan 24 20:50:27 2010	(r30426)
+++ trunk/libmpdemux/demuxer.c	Sun Jan 24 21:05:28 2010	(r30427)
@@ -458,6 +458,9 @@ static void allocate_parser(AVCodecConte
     case 0x86:
         codec_id = CODEC_ID_DTS;
         break;
+    case MKTAG('M', 'L', 'P', ' '):
+        codec_id = CODEC_ID_MLP;
+        break;
     case 0x55:
     case 0x5500736d:
     case MKTAG('.', 'm', 'p', '3'):
@@ -470,6 +473,9 @@ static void allocate_parser(AVCodecConte
     case MKTAG('.', 'm', 'p', '1'):
         codec_id = CODEC_ID_MP2;
         break;
+    case MKTAG('T', 'R', 'H', 'D'):
+        codec_id = CODEC_ID_TRUEHD;
+        break;
     }
     if (codec_id != CODEC_ID_NONE) {
         *avctx = avcodec_alloc_context();


More information about the MPlayer-cvslog mailing list