Mercurial > libavformat.hg
changeset 3738:0c46eb1cd9b3 libavformat
Make MOV demuxer handle F32BE, F32LE, F64BE and F64LE PCM audio.
author | pross |
---|---|
date | Tue, 19 Aug 2008 11:00:40 +0000 |
parents | 704c20dd52a4 |
children | d7fa8d9effe5 |
files | isom.c mov.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/isom.c Tue Aug 19 10:54:30 2008 +0000 +++ b/isom.c Tue Aug 19 11:00:40 2008 +0000 @@ -163,6 +163,8 @@ { CODEC_ID_PCM_S16BE, MKTAG('t', 'w', 'o', 's') }, /* 16 bits */ { CODEC_ID_PCM_S16LE, MKTAG('s', 'o', 'w', 't') }, /* */ { CODEC_ID_PCM_S16LE, MKTAG('l', 'p', 'c', 'm') }, + { CODEC_ID_PCM_F32BE, MKTAG('f', 'l', '3', '2') }, + { CODEC_ID_PCM_F64BE, MKTAG('f', 'l', '6', '4') }, { CODEC_ID_PCM_S8, MKTAG('s', 'o', 'w', 't') }, { CODEC_ID_PCM_U8, MKTAG('r', 'a', 'w', ' ') }, /* 8 bits unsigned */ { CODEC_ID_PCM_U8, MKTAG('N', 'O', 'N', 'E') }, /* uncompressed */
--- a/mov.c Tue Aug 19 10:54:30 2008 +0000 +++ b/mov.c Tue Aug 19 11:00:40 2008 +0000 @@ -565,6 +565,12 @@ case CODEC_ID_PCM_S32BE: st->codec->codec_id = CODEC_ID_PCM_S32LE; break; + case CODEC_ID_PCM_F32BE: + st->codec->codec_id = CODEC_ID_PCM_F32LE; + break; + case CODEC_ID_PCM_F64BE: + st->codec->codec_id = CODEC_ID_PCM_F64LE; + break; default: break; }