Browse code

Set some audio stream properties in the vivo demuxer.

This allows playback with MPlayer and the binary decoder.

Reviewed-by: Paul B Mahol

Carl Eugen Hoyos authored on 2012/12/05 02:52:00
Showing 1 changed files
... ...
@@ -229,6 +229,8 @@ static int vivo_read_header(AVFormatContext *s)
229 229
         vst->codec->codec_id = CODEC_ID_H263;
230 230
         ast->codec->codec_id = CODEC_ID_G723_1;
231 231
         ast->codec->bits_per_coded_sample = 8;
232
+        ast->codec->block_align = 24;
233
+        ast->codec->bit_rate = 6400;
232 234
     }
233 235
 
234 236
     ast->start_time        = 0;