提交 777f4649 编写于 作者: B Baptiste Coudurier

fix bit rate

Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 d50756cd
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册