mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 09:59:50 +00:00
lavfi/earwax: add missing NULL check in filter_samples()
This commit is contained in:
parent
3af7919be4
commit
d034847f7a
@ -129,6 +129,8 @@ static int filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamples)
|
||||
insamples->audio->nb_samples);
|
||||
int ret;
|
||||
|
||||
if (!outsamples)
|
||||
return AVERROR(ENOMEM);
|
||||
avfilter_copy_buffer_ref_props(outsamples, insamples);
|
||||
|
||||
taps = ((EarwaxContext *)inlink->dst->priv)->taps;
|
||||
|
Loading…
Reference in New Issue
Block a user