Commit b424e67a authored by Clément Bœsch's avatar Clément Bœsch Committed by Clément Bœsch

avfilter/signalstats: fix different buffers for out frame if burn is enabled

This was the original intend.
parent 36091742
......@@ -294,8 +294,10 @@ static int filter_frame(AVFilterLink *link, AVFrame *in)
prev = s->frame_prev;
if (s->outfilter != FILTER_NONE)
if (s->outfilter != FILTER_NONE) {
out = av_frame_clone(in);
av_frame_make_writable(out);
}
for (fil = 0; fil < FILT_NUMB; fil ++)
if ((s->filters & 1<<fil) && filters_def[fil].init)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment