Fix sizeof()-statement to use the actual pointer type.

Originally committed as revision 21872 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Thilo Borgmann 2010-02-17 23:26:48 +00:00
parent cd09284924
commit dc9e57a878
1 changed files with 1 additions and 1 deletions

View File

@ -1564,7 +1564,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
if (sconf->mc_coding) {
ctx->chan_data_buffer = av_malloc(sizeof(*ctx->chan_data_buffer) *
num_buffers * num_buffers);
ctx->chan_data = av_malloc(sizeof(ALSChannelData) *
ctx->chan_data = av_malloc(sizeof(*ctx->chan_data) *
num_buffers);
ctx->reverted_channels = av_malloc(sizeof(*ctx->reverted_channels) *
num_buffers);