diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-04-03 21:49:48 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-02-20 14:41:26 +0100 |
commit | 464310c16062efe234cb016ff41fa312546dfc5e (patch) | |
tree | 45304ebbcebff2619efb566c7b82a73d65c63d0e /libavformat | |
parent | 26ae9c9f8aebbf4b925649f971f90c0dee047aa9 (diff) | |
download | ffmpeg-464310c16062efe234cb016ff41fa312546dfc5e.tar.gz |
avcodec: add siren audio decoder
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/vivo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/vivo.c b/libavformat/vivo.c index 4039cd0fe5..7f30a3f031 100644 --- a/libavformat/vivo.c +++ b/libavformat/vivo.c @@ -231,6 +231,11 @@ static int vivo_read_header(AVFormatContext *s) ast->codecpar->bits_per_coded_sample = 8; ast->codecpar->block_align = 24; ast->codecpar->bit_rate = 6400; + } else { + ast->codecpar->codec_id = AV_CODEC_ID_SIREN; + ast->codecpar->bits_per_coded_sample = 16; + ast->codecpar->block_align = 40; + ast->codecpar->bit_rate = 6400; } ast->start_time = 0; |