diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-19 23:03:08 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-03 17:03:27 -0500 |
commit | b7beabab4b78cc253d06c0a33f15b8ff79866e85 (patch) | |
tree | 8c21f78493eef411f0b717a583ea4220d687553f | |
parent | f9cf91d8224eb9081e50b6cee55423ccb0bf9e90 (diff) | |
download | ffmpeg-b7beabab4b78cc253d06c0a33f15b8ff79866e85.tar.gz |
tiertexseq: set correct block_align for audio
-rw-r--r-- | libavformat/tiertexseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c index 16af084b39..df7c38d0d2 100644 --- a/libavformat/tiertexseq.c +++ b/libavformat/tiertexseq.c @@ -234,7 +234,7 @@ static int seq_read_header(AVFormatContext *s) st->codec->sample_rate = SEQ_SAMPLE_RATE; st->codec->bits_per_coded_sample = 16; st->codec->bit_rate = st->codec->sample_rate * st->codec->bits_per_coded_sample * st->codec->channels; - st->codec->block_align = st->codec->channels * st->codec->bits_per_coded_sample; + st->codec->block_align = st->codec->channels * st->codec->bits_per_coded_sample / 8; return 0; } |