ffmpeg | branch: master | Paul B Mahol <[email protected]> | 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) {

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to