diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-12-23 21:49:30 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-12-23 21:49:30 +0100 |
commit | 7d5bb3a4d34f0cddd300252f8afc37c3d7bf17c8 (patch) | |
tree | b9ffdc63942e9b75fe0616c959153a9a9c59c704 /libavfilter | |
parent | ee64b64c0227e0e7f231e7d07f4bb2964dd7015d (diff) | |
download | ffmpeg-7d5bb3a4d34f0cddd300252f8afc37c3d7bf17c8.tar.gz |
avfilter/af_sofalizer: fix memory leaks
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_sofalizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c index c30f99c810..90eb3534a4 100644 --- a/libavfilter/af_sofalizer.c +++ b/libavfilter/af_sofalizer.c @@ -738,7 +738,7 @@ static int load_data(AVFilterContext *ctx, int azim, int elev, float radius, int data_ir_r + n_samples * i, &delay_l, &delay_r); if (ret < 0) - return ret; + goto fail; s->delay[0][i] = delay_l * sample_rate; s->delay[1][i] = delay_r * sample_rate; |