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
lavc/avfft: init context to 0.
Prevent an invalid free in case of init failure.
tags/n2.1
Nicolas George
12 years ago
parent
83635ac67b
commit
04dcdc4640
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/avfft.c
+ 1
- 1
libavcodec/avfft.c
View File
@@ -27,7 +27,7 @@
FFTContext *av_fft_init(int nbits, int inverse)
{
FFTContext *s = av_malloc(sizeof(*s));
FFTContext *s = av_malloc
z
(sizeof(*s));
if (s && ff_fft_init(s, nbits, inverse))
av_freep(&s);
Write
Preview
Loading…
Cancel
Save