Commit 59760f84 authored by bcoudurier's avatar bcoudurier

fix bit rate

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6646 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent df0fae20
...@@ -141,7 +141,7 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec, ...@@ -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 */ * is specific to applications -> here we use the WAVE format definition */
codec->block_align = (codec->bits_per_sample * codec->channels) >> 3; 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 */ /* Chunk is over */
if (size) if (size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment