avfilter/avf_avectorscope: make frame writable before writing to it

This commit is contained in:
Paul B Mahol 2022-03-04 13:37:19 +01:00
parent dc8e83b4e0
commit faac31cc86

View File

@ -275,6 +275,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
}
s->outpicref->pts = insamples->pts;
av_frame_make_writable(s->outpicref);
ff_filter_execute(ctx, fade, NULL, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
if (zoom < 1) {