aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-04-03 21:49:48 +0200
committerPaul B Mahol <onemda@gmail.com>2020-02-20 14:41:26 +0100
commit464310c16062efe234cb016ff41fa312546dfc5e (patch)
tree45304ebbcebff2619efb566c7b82a73d65c63d0e /libavformat
parent26ae9c9f8aebbf4b925649f971f90c0dee047aa9 (diff)
downloadffmpeg-464310c16062efe234cb016ff41fa312546dfc5e.tar.gz
avcodec: add siren audio decoder
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/vivo.c5
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;