Mercurial > libavformat.hg
diff flvdec.c @ 3795:ccddbe22fa8f libavformat
speex in flv demuxing
| author | bcoudurier |
|---|---|
| date | Fri, 29 Aug 2008 17:06:35 +0000 |
| parents | 2a7f495e8c56 |
| children | 5fc16ca7b356 |
line wrap: on
line diff
--- a/flvdec.c Fri Aug 29 17:04:18 2008 +0000 +++ b/flvdec.c Fri Aug 29 17:06:35 2008 +0000 @@ -53,6 +53,7 @@ acodec->codec_id = acodec->bits_per_sample == 8 ? CODEC_ID_PCM_S8 : CODEC_ID_PCM_S16LE; break; case FLV_CODECID_AAC : acodec->codec_id = CODEC_ID_AAC; break; case FLV_CODECID_ADPCM: acodec->codec_id = CODEC_ID_ADPCM_SWF; break; + case FLV_CODECID_SPEEX: acodec->codec_id = CODEC_ID_SPEEX; break; case FLV_CODECID_MP3 : acodec->codec_id = CODEC_ID_MP3 ; astream->need_parsing = AVSTREAM_PARSE_FULL; break; case FLV_CODECID_NELLYMOSER_8HZ_MONO: acodec->sample_rate = 8000; //in case metadata does not otherwise declare samplerate
