diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-12-04 18:52:00 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-12-05 01:21:12 +0100 |
commit | 4e6f9db493f586becb4f42f30730ae27b219580a (patch) | |
tree | 8883050cc300184605ef34719141981fcadae490 /libavformat/vivo.c | |
parent | b5ffbcd0cd2391f22f9ef3a1398d8fc60cbcce0a (diff) | |
download | ffmpeg-4e6f9db493f586becb4f42f30730ae27b219580a.tar.gz |
Set some audio stream properties in the vivo demuxer.
This allows playback with MPlayer and the binary decoder.
Reviewed-by: Paul B Mahol
Diffstat (limited to 'libavformat/vivo.c')
-rw-r--r-- | libavformat/vivo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/vivo.c b/libavformat/vivo.c index e3487f67c0..7151d37eb4 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; |