mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-08 08:10:12 +00:00
avfilter/af_headphone : fix mem leak
report by coverity CID 1439934 CID 1439935
This commit is contained in:
parent
29fdaaa80d
commit
75625c555c
@ -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);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
goto fail;
|
||||
ptr = (float *)s->in[i + 1].frame->extended_data[0];
|
||||
|
||||
if (s->hrir_fmt == HRIR_STEREO) {
|
||||
|
Loading…
Reference in New Issue
Block a user