diff options
Diffstat (limited to 'libavformat/tiertexseq.c')
-rw-r--r-- | libavformat/tiertexseq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c index 00dcb5e232..7588ff037d 100644 --- a/libavformat/tiertexseq.c +++ b/libavformat/tiertexseq.c @@ -230,9 +230,9 @@ static int seq_read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec->codec_tag = 0; /* no tag */ st->codec->channels = 1; st->codec->sample_rate = SEQ_SAMPLE_RATE; - st->codec->bits_per_sample = 16; - st->codec->bit_rate = st->codec->sample_rate * st->codec->bits_per_sample * st->codec->channels; - st->codec->block_align = st->codec->channels * st->codec->bits_per_sample; + 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; return 0; } |