Mercurial > mplayer.hg
changeset 30385:b2c5e608155a
Add support for parsing MLP and TrueHD.
author | reimar |
---|---|
date | Sun, 24 Jan 2010 20:05:28 +0000 |
parents | dcebebdd0c0b |
children | d33d65802937 |
files | libmpdemux/demuxer.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demuxer.c Sun Jan 24 19:50:27 2010 +0000 +++ b/libmpdemux/demuxer.c Sun Jan 24 20:05:28 2010 +0000 @@ -458,6 +458,9 @@ 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 @@ 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();