fix bit rate
Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d50756cdf9
commit
777f46493d
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue