diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-11-19 14:51:44 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-11-22 23:27:44 +0400 |
commit | 32cd3a7c16e1d1b5633e72f42397e9cb218f5e2b (patch) | |
tree | 7712c9d3971f52cb1f22670e435733179b4e0c67 /libavformat/ast.c | |
parent | 08e26e7f5c0caa0b056354ef8b5230f6893f0994 (diff) |
ADPCM AFC decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/ast.c')
-rw-r--r-- | libavformat/ast.c | 3 |
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; |