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
1 changed files with 1 additions and 0 deletions

View File

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