[FFmpeg-devel] [PATCH 01/16] vmdaudio: fix raw_block_size calculation.

Reimar Döffinger Reimar.Doeffinger
Tue Feb 22 20:21:20 CET 2011


On Tue, Feb 22, 2011 at 02:05:20PM -0500, Justin Ruggles wrote:
> -        int raw_block_size = s->block_align * s->bits / 8;
> +        int raw_block_size = s->block_align *
> +                             (av_get_bits_per_sample_fmt(avctx->sample_fmt) / 8);

WTF is "bits per sample format"? That function really has a braindead name.



More information about the ffmpeg-devel mailing list