Mercurial > libavformat.hg
changeset 1377:51f4a1e475f8 libavformat
fix bit rate
author | bcoudurier |
---|---|
date | Wed, 11 Oct 2006 10:22:21 +0000 |
parents | 1d7727481acf |
children | a32812bb5bcf |
files | aiff.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/aiff.c Wed Oct 11 10:17:18 2006 +0000 +++ b/aiff.c Wed Oct 11 10:22:21 2006 +0000 @@ -141,7 +141,7 @@ * is specific to applications -> here we use the WAVE format definition */ codec->block_align = (codec->bits_per_sample * codec->channels) >> 3; - codec->bit_rate = codec->sample_rate * codec->block_align; + codec->bit_rate = codec->sample_rate * (codec->block_align << 3); /* Chunk is over */ if (size)