diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-10-11 10:22:21 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-10-11 10:22:21 +0000 |
commit | 777f46493dec730fe0f2aee4c4d54697dc47ac9c (patch) | |
tree | 8cd1ea197999a82dbd6e5c04107afceb818e5da4 | |
parent | d50756cdf9220b942374e614c41433a11b731838 (diff) | |
download | ffmpeg-777f46493dec730fe0f2aee4c4d54697dc47ac9c.tar.gz |
fix bit rate
Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/aiff.c | 2 |
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) |