[Ffmpeg-cvslog] r6646 - trunk/libavformat/aiff.c
bcoudurier
subversion
Wed Oct 11 12:22:21 CEST 2006
Author: bcoudurier
Date: Wed Oct 11 12:22:21 2006
New Revision: 6646
Modified:
trunk/libavformat/aiff.c
Log:
fix bit rate
Modified: trunk/libavformat/aiff.c
==============================================================================
--- trunk/libavformat/aiff.c (original)
+++ trunk/libavformat/aiff.c Wed Oct 11 12:22:21 2006
@@ -141,7 +141,7 @@
* 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)
More information about the ffmpeg-cvslog
mailing list