Message ID | 20180404140937.10331-3-onemda@gmail.com |
---|---|
State | Superseded |
Headers | show |
On Wed, 4 Apr 2018 16:09:37 +0200, Paul B Mahol <onemda@gmail.com> wrote: > + } 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; wow great! now there is only the other vivo video codec left and then this format can finally be completed? -compn
diff --git a/libavformat/vivo.c b/libavformat/vivo.c index 6a88a09a01..1339a609b9 100644 --- a/libavformat/vivo.c +++ b/libavformat/vivo.c @@ -232,6 +232,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;
Signed-off-by: Paul B Mahol <onemda@gmail.com> --- libavformat/vivo.c | 5 +++++ 1 file changed, 5 insertions(+)