Skip to content

Commit

Permalink
avfilter/vf_convolve: reset fft/ifft pointers after free
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpl committed Feb 25, 2020
1 parent ad65a15 commit 7e08a92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libavfilter/vf_convolve.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,9 @@ static av_cold void uninit(AVFilterContext *ctx)

for (j = 0; j < MAX_THREADS; j++) {
av_fft_end(s->fft[i][j]);
s->fft[i][j] = NULL;
av_fft_end(s->ifft[i][j]);
s->ifft[i][j] = NULL;
}
}

Expand Down

0 comments on commit 7e08a92

Please sign in to comment.