Mercurial > libavformat.hg
changeset 3273:83a8b43761bc libavformat
Nellymoser handling in FLV
author | bwolowiec |
---|---|
date | Fri, 02 May 2008 19:35:31 +0000 |
parents | 07038dc492ab |
children | 194be504f61d |
files | flvenc.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flvenc.c Fri May 02 14:52:39 2008 +0000 +++ b/flvenc.c Fri May 02 19:35:31 2008 +0000 @@ -39,6 +39,7 @@ {CODEC_ID_PCM_S16BE, FLV_CODECID_PCM >> FLV_AUDIO_CODECID_OFFSET}, {CODEC_ID_PCM_S16LE, FLV_CODECID_PCM_LE >> FLV_AUDIO_CODECID_OFFSET}, {CODEC_ID_ADPCM_SWF, FLV_CODECID_ADPCM >> FLV_AUDIO_CODECID_OFFSET}, + {CODEC_ID_NELLYMOSER, FLV_CODECID_NELLYMOSER >> FLV_AUDIO_CODECID_OFFSET}, {CODEC_ID_NONE, 0} }; @@ -95,6 +96,9 @@ case CODEC_ID_ADPCM_SWF: flags |= FLV_CODECID_ADPCM | FLV_SAMPLESSIZE_16BIT; break; + case CODEC_ID_NELLYMOSER: + flags |= FLV_CODECID_NELLYMOSER | FLV_SAMPLESSIZE_16BIT; + break; case 0: flags |= enc->codec_tag<<4; break;