mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/avf_avectorscope: make frame writable before writing to it
This commit is contained in:
parent
dc8e83b4e0
commit
faac31cc86
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue