Browse Source

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

This was the original intend.
tags/n2.5
Clément Bœsch Clément Bœsch 11 years ago
parent
commit
b424e67abf
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavfilter/vf_signalstats.c

+ 3
- 1
libavfilter/vf_signalstats.c View File

@@ -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)


Loading…
Cancel
Save