Commit 75625c55 authored by Martin Vignali's avatar Martin Vignali

avfilter/af_headphone : fix mem leak

report by coverity
CID 1439934
CID 1439935
parent 29fdaaa8
...@@ -475,7 +475,7 @@ static int convert_coeffs(AVFilterContext *ctx, AVFilterLink *inlink) ...@@ -475,7 +475,7 @@ static int convert_coeffs(AVFilterContext *ctx, AVFilterLink *inlink)
ret = ff_inlink_consume_samples(ctx->inputs[i + 1], len, len, &s->in[i + 1].frame); ret = ff_inlink_consume_samples(ctx->inputs[i + 1], len, len, &s->in[i + 1].frame);
if (ret < 0) if (ret < 0)
return ret; goto fail;
ptr = (float *)s->in[i + 1].frame->extended_data[0]; ptr = (float *)s->in[i + 1].frame->extended_data[0];
if (s->hrir_fmt == HRIR_STEREO) { if (s->hrir_fmt == HRIR_STEREO) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment