You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/af_speechnorm: check return value of av_frame_make_writable()
This commit is contained in:
@@ -410,7 +410,9 @@ static int filter_frame(AVFilterContext *ctx)
|
|||||||
|
|
||||||
in = ff_bufqueue_get(&s->queue);
|
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);
|
s->filter_channels[s->link](ctx, in, in->nb_samples);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user