summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/avf_showwaves.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c
index 30a8e1e62f..3e5f39f3c9 100644
--- a/libavfilter/avf_showwaves.c
+++ b/libavfilter/avf_showwaves.c
@@ -220,6 +220,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *insamples)
}
if (showwaves->buf_idx == showwaves->w)
push_frame(outlink);
+ outpicref = showwaves->outpicref;
}
avfilter_unref_buffer(insamples);