[FFmpeg-cvslog] avfilter/avf_avectorscope: make frame writable before writing to it
Paul B Mahol
git at videolan.org
Fri Mar 4 15:06:58 EET 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Mar 4 13:37:19 2022 +0100| [faac31cc8629053af7cda23cbdea7edc5dd226dc] | committer: Paul B Mahol
avfilter/avf_avectorscope: make frame writable before writing to it
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=faac31cc8629053af7cda23cbdea7edc5dd226dc
---
libavfilter/avf_avectorscope.c | 1 +
1 file changed, 1 insertion(+)
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) {
More information about the ffmpeg-cvslog
mailing list