]> git.sesse.net Git - ffmpeg/commitdiff
Set some audio stream properties in the vivo demuxer.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 4 Dec 2012 17:52:00 +0000 (18:52 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 5 Dec 2012 00:21:12 +0000 (01:21 +0100)
This allows playback with MPlayer and the binary decoder.

Reviewed-by: Paul B Mahol
libavformat/vivo.c

index e3487f67c04e48020875fc338131da1a4808f935..7151d37eb45cf4b5162b8ba7e9d4067e34b73cc5 100644 (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;