You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/avf_avectorscope: make frame writable before writing to it
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user