This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/dsddec: use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer
11 years ago
parent
f1c48c3a4d
commit
b20d6cf603
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/dsddec.c
+ 1
- 1
libavcodec/dsddec.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save