From b7beabab4b78cc253d06c0a33f15b8ff79866e85 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Thu, 19 Jan 2012 23:03:08 -0500 Subject: [PATCH] tiertexseq: set correct block_align for audio --- libavformat/tiertexseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }