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
avfilter/avf_showcqt: use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer
10 years ago
parent
f77571f6bb
commit
a30fd828ab
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavfilter/avf_showcqt.c
+ 1
- 1
libavfilter/avf_showcqt.c
View File
@@ -205,7 +205,7 @@ static void load_freetype_font(AVFilterContext *ctx)
if (FT_Set_Char_Size(face, 16*64 * linear_hori_advance / face->glyph->linearHoriAdvance, 0, 0, 0))
if (FT_Set_Char_Size(face, 16*64 * linear_hori_advance / face->glyph->linearHoriAdvance, 0, 0, 0))
goto fail;
goto fail;
s->font_alpha = av_malloc
(font_height *
video_width);
s->font_alpha = av_malloc
_array(font_height,
video_width);
if (!s->font_alpha)
if (!s->font_alpha)
goto fail;
goto fail;
Write
Preview
Loading…
Cancel
Save