diff options
author | Thilo Borgmann <thilo.borgmann@googlemail.com> | 2010-02-17 23:26:48 +0000 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@googlemail.com> | 2010-02-17 23:26:48 +0000 |
commit | dc9e57a878107be304398387dc5e846346ef70c6 (patch) | |
tree | f5f6192e21a21e087cb5e4aae1aeef7ddbc524c4 | |
parent | cd0928492410c5a93959d664362cd0d0ee50b961 (diff) | |
download | ffmpeg-dc9e57a878107be304398387dc5e846346ef70c6.tar.gz |
Fix sizeof()-statement to use the actual pointer type.
Originally committed as revision 21872 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/alsdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 25b61ec0ab..59d1bd9827 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -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); |