lavfi/earwax: add missing NULL check in filter_samples()

pull/6/merge
Stefano Sabatini 12 years ago
parent 3af7919be4
commit d034847f7a
  1. 2
      libavfilter/af_earwax.c

@ -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…
Cancel
Save