summaryrefslogtreecommitdiff
path: root/libavformat/ast.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-11-19 10:51:44 +0000
committerPaul B Mahol <onemda@gmail.com>2012-11-22 19:27:44 +0000
commit32cd3a7c16e1d1b5633e72f42397e9cb218f5e2b (patch)
tree7712c9d3971f52cb1f22670e435733179b4e0c67 /libavformat/ast.c
parent08e26e7f5c0caa0b056354ef8b5230f6893f0994 (diff)
ADPCM AFC decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/ast.c')
-rw-r--r--libavformat/ast.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/ast.c b/libavformat/ast.c
index 2027b579c5..4f835401ed 100644
--- a/libavformat/ast.c
+++ b/libavformat/ast.c
@@ -43,6 +43,9 @@ static int ast_read_header(AVFormatContext *s)
avio_skip(s->pb, 8);
codec = avio_rb16(s->pb);
switch (codec) {
+ case 0:
+ st->codec->codec_id = AV_CODEC_ID_ADPCM_AFC;
+ break;
case 1:
st->codec->codec_id = AV_CODEC_ID_PCM_S16BE_PLANAR;
break;