projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd09284
)
Fix sizeof()-statement to use the actual pointer type.
author
Thilo Borgmann
<thilo.borgmann@googlemail.com>
Wed, 17 Feb 2010 23:26:48 +0000
(23:26 +0000)
committer
Thilo Borgmann
<thilo.borgmann@googlemail.com>
Wed, 17 Feb 2010 23:26:48 +0000
(23:26 +0000)
Originally committed as revision 21872 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/alsdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/alsdec.c
b/libavcodec/alsdec.c
index
25b61ec
..
59d1bd9
100644
(file)
--- 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(
ALSChannelD
ata) *
+ ctx->chan_data = av_malloc(sizeof(
*ctx->chan_d
ata) *
num_buffers);
ctx->reverted_channels = av_malloc(sizeof(*ctx->reverted_channels) *
num_buffers);