Mercurial > libavcodec.hg
changeset 11199:f1b38a8588b2 libavcodec
Fix sizeof()-statement to use the actual pointer type.
author | thilo.borgmann |
---|---|
date | Wed, 17 Feb 2010 23:26:48 +0000 |
parents | 00854e4457f2 |
children | cd8a77473dd1 |
files | alsdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/alsdec.c Wed Feb 17 22:53:25 2010 +0000 +++ b/alsdec.c Wed Feb 17 23:26:48 2010 +0000 @@ -1564,7 +1564,7 @@ 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);