mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-01 04:12:14 +00:00
avfilter/af_speechnorm: check return value of av_frame_make_writable()
This commit is contained in:
parent
ccd95cb248
commit
5db1e07a62
@ -410,7 +410,9 @@ static int filter_frame(AVFilterContext *ctx)
|
||||
|
||||
in = ff_bufqueue_get(&s->queue);
|
||||
|
||||
av_frame_make_writable(in);
|
||||
ret = av_frame_make_writable(in);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
s->filter_channels[s->link](ctx, in, in->nb_samples);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user