Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-22 21:57:21 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-22 22:08:30 +0400
commitb20d6cf60332850bc353ee1c06c2801dc9656bf3 (patch)
treec887e0473712b3b136fa795eb7fd89eb9740cdc3 /libavcodec/dsddec.c
parentf1c48c3a4de3d24e941322cadde225438c10ea7a (diff)
avcodec/dsddec: use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dsddec.c')
-rw-r--r--libavcodec/dsddec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsddec.c b/libavcodec/dsddec.c
index 1782d078e5..f1dfd4b231 100644
--- a/libavcodec/dsddec.c
+++ b/libavcodec/dsddec.c
@@ -95,7 +95,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
init_static_data();
- s = av_malloc(sizeof(DSDContext) * avctx->channels);
+ s = av_malloc_array(sizeof(DSDContext), avctx->channels);
if (!s)
return AVERROR(ENOMEM);