Set some audio stream properties in the vivo demuxer.

This allows playback with MPlayer and the binary decoder.

Reviewed-by: Paul B Mahol
This commit is contained in:
Carl Eugen Hoyos 2012-12-04 18:52:00 +01:00
parent b5ffbcd0cd
commit 4e6f9db493
1 changed files with 2 additions and 0 deletions

View File

@ -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;