mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-13 02:41:37 +00:00
avfilter/af_afftfilt: Set last_expr to the default
This fixes a null pointer dereferece Fixes: CID1351346 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a969a914f5
commit
f89bc661b4
@ -94,7 +94,8 @@ static int config_input(AVFilterLink *inlink)
|
||||
char *saveptr = NULL;
|
||||
int ret = 0, ch, i;
|
||||
float overlap;
|
||||
char *args, *last_expr = NULL;
|
||||
char *args;
|
||||
const char *last_expr = "1";
|
||||
|
||||
s->fft = av_fft_init(s->fft_bits, 0);
|
||||
s->ifft = av_fft_init(s->fft_bits, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user