changeset 2604:cb5f9ba6b63b libavformat

Nellymoser ASAO decoder
author banan
date Mon, 15 Oct 2007 16:26:02 +0000
parents 4a3957734e85
children fb544409b242
files flvdec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flvdec.c	Sun Oct 14 17:44:38 2007 +0000
+++ b/flvdec.c	Mon Oct 15 16:26:02 2007 +0000
@@ -50,6 +50,8 @@
         case FLV_CODECID_NELLYMOSER_8HZ_MONO:
             acodec->sample_rate = 8000; //in case metadata does not otherwise declare samplerate
         case FLV_CODECID_NELLYMOSER:
+            acodec->codec_id = CODEC_ID_NELLYMOSER;
+            break;
         default:
             av_log(s, AV_LOG_INFO, "Unsupported audio codec (%x)\n", flv_codecid >> FLV_AUDIO_CODECID_OFFSET);
             acodec->codec_tag = flv_codecid >> FLV_AUDIO_CODECID_OFFSET;