Browse Source

fix bit rate

Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 19 years ago
parent
commit
777f46493d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/aiff.c

+ 1
- 1
libavformat/aiff.c 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)


Loading…
Cancel
Save