lavfi/earwax: remove pointless store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-04-16 21:27:49 +00:00
parent 0ea97a1c5b
commit 9bd1b1c1e7
1 changed files with 1 additions and 3 deletions

View File

@ -114,7 +114,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
AVFilterLink *outlink = inlink->dst->outputs[0];
int16_t *taps, *endin, *in, *out;
AVFrame *outsamples = ff_get_audio_buffer(inlink, insamples->nb_samples);
int ret;
if (!outsamples) {
av_frame_free(&insamples);
@ -137,9 +136,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
// save part of input for next round
memcpy(taps, endin, NUMTAPS * sizeof(*taps));
ret = ff_filter_frame(outlink, outsamples);
av_frame_free(&insamples);
return ret;
return ff_filter_frame(outlink, outsamples);
}
static const AVFilterPad earwax_inputs[] = {