Commit d7d325e2 authored by thilo.borgmann's avatar thilo.borgmann

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21872 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5dcb6f18
...@@ -1564,7 +1564,7 @@ static av_cold int decode_init(AVCodecContext *avctx) ...@@ -1564,7 +1564,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
if (sconf->mc_coding) { if (sconf->mc_coding) {
ctx->chan_data_buffer = av_malloc(sizeof(*ctx->chan_data_buffer) * ctx->chan_data_buffer = av_malloc(sizeof(*ctx->chan_data_buffer) *
num_buffers * num_buffers); num_buffers * num_buffers);
ctx->chan_data = av_malloc(sizeof(ALSChannelData) * ctx->chan_data = av_malloc(sizeof(*ctx->chan_data) *
num_buffers); num_buffers);
ctx->reverted_channels = av_malloc(sizeof(*ctx->reverted_channels) * ctx->reverted_channels = av_malloc(sizeof(*ctx->reverted_channels) *
num_buffers); num_buffers);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment