Browse Source

Set some audio stream properties in the vivo demuxer.

This allows playback with MPlayer and the binary decoder.

Reviewed-by: Paul B Mahol
tags/n1.1
Carl Eugen Hoyos 13 years ago
parent
commit
4e6f9db493
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/vivo.c

+ 2
- 0
libavformat/vivo.c 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;


Loading…
Cancel
Save