fix bit rate

Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 19 years ago
parent d50756cdf9
commit 777f46493d
  1. 2
      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)

Loading…
Cancel
Save