aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2007-10-15 16:26:02 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2007-10-15 16:26:02 +0000
commit636b13c5fcb8c9515cc84b5d77cdcd3533f17dcb (patch)
tree8fe4dc449de161e64acfccbc86c8cb25a8f7a6f0 /libavformat/flvdec.c
parent85aec3bd480c5c9f8836989c988fc795478eedc3 (diff)
downloadffmpeg-636b13c5fcb8c9515cc84b5d77cdcd3533f17dcb.tar.gz
Nellymoser ASAO decoder
Originally committed as revision 10741 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 550deaeaa6..001239b732 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -50,6 +50,8 @@ static void flv_set_audio_codec(AVFormatContext *s, AVStream *astream, int flv_c
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;