diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-03-04 13:37:19 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-03-04 13:54:12 +0100 |
commit | faac31cc8629053af7cda23cbdea7edc5dd226dc (patch) | |
tree | 119f9cfacf8a59f66930b2a477da300e526d29a5 /libavfilter/avf_avectorscope.c | |
parent | dc8e83b4e01cb4e0d3f6fa1d181e0b7d1a89c191 (diff) | |
download | ffmpeg-faac31cc8629053af7cda23cbdea7edc5dd226dc.tar.gz |
avfilter/avf_avectorscope: make frame writable before writing to it
Diffstat (limited to 'libavfilter/avf_avectorscope.c')
-rw-r--r-- | libavfilter/avf_avectorscope.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_avectorscope.c b/libavfilter/avf_avectorscope.c index ba392153f3..c764405818 100644 --- a/libavfilter/avf_avectorscope.c +++ b/libavfilter/avf_avectorscope.c @@ -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) { |