Mercurial > mplayer.hg
diff libmpdemux/demuxer.c @ 34080:0d4741369ee1
add some aac/dts fourccs
author | compn |
---|---|
date | Sat, 01 Oct 2011 10:20:41 +0000 |
parents | 18dfcac48055 |
children | 19b03b022753 |
line wrap: on
line diff
--- a/libmpdemux/demuxer.c Fri Sep 30 21:47:26 2011 +0000 +++ b/libmpdemux/demuxer.c Sat Oct 01 10:20:41 2011 +0000 @@ -473,9 +473,11 @@ init_avcodec(); switch (format) { + case 0x1600: case MKTAG('M', 'P', '4', 'A'): codec_id = CODEC_ID_AAC; break; + case 0x1602: case MKTAG('M', 'P', '4', 'L'): codec_id = CODEC_ID_AAC_LATM; break; @@ -495,6 +497,10 @@ break; case 0x2001: case 0x86: + case MKTAG('D', 'T', 'S', ' '): + case MKTAG('d', 't', 's', ' '): + case MKTAG('d', 't', 's', 'b'): + case MKTAG('d', 't', 's', 'c'): codec_id = CODEC_ID_DTS; break; case MKTAG('f', 'L', 'a', 'C'):