1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fix bit rate

Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-10-11 10:22:21 +00:00
parent d50756cdf9
commit 777f46493d

View File

@ -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)