[FFmpeg-cvslog] Set some audio stream properties in the vivo demuxer.

Carl Eugen Hoyos git at videolan.org
Wed Dec 5 01:21:52 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Dec  4 18:52:00 2012 +0100| [4e6f9db493f586becb4f42f30730ae27b219580a] | committer: Carl Eugen Hoyos

Set some audio stream properties in the vivo demuxer.

This allows playback with MPlayer and the binary decoder.

Reviewed-by: Paul B Mahol

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e6f9db493f586becb4f42f30730ae27b219580a
---

 libavformat/vivo.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/vivo.c b/libavformat/vivo.c
index e3487f6..7151d37 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;



More information about the ffmpeg-cvslog mailing list