From 4e6f9db493f586becb4f42f30730ae27b219580a Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 4 Dec 2012 18:52:00 +0100 Subject: [PATCH] Set some audio stream properties in the vivo demuxer. This allows playback with MPlayer and the binary decoder. Reviewed-by: Paul B Mahol --- libavformat/vivo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/vivo.c b/libavformat/vivo.c index e3487f67c04..7151d37eb45 100644 --- a/libavformat/vivo.c +++ b/libavformat/vivo.c @@ -229,6 +229,8 @@ static int vivo_read_header(AVFormatContext *s) vst->codec->codec_id = CODEC_ID_H263; ast->codec->codec_id = CODEC_ID_G723_1; ast->codec->bits_per_coded_sample = 8; + ast->codec->block_align = 24; + ast->codec->bit_rate = 6400; } ast->start_time = 0; -- 2.39.2