aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-11 10:22:21 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-11 10:22:21 +0000
commit777f46493dec730fe0f2aee4c4d54697dc47ac9c (patch)
tree8cd1ea197999a82dbd6e5c04107afceb818e5da4
parentd50756cdf9220b942374e614c41433a11b731838 (diff)
downloadffmpeg-777f46493dec730fe0f2aee4c4d54697dc47ac9c.tar.gz
fix bit rate
Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/aiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aiff.c b/libavformat/aiff.c
index 8bfbe3b2f9..7bbaaed647 100644
--- a/libavformat/aiff.c
+++ b/libavformat/aiff.c
@@ -141,7 +141,7 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec,
* 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)