summaryrefslogtreecommitdiff
path: root/libavfilter/vf_histogram.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_histogram.c')
-rw-r--r--libavfilter/vf_histogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c
index ced7cda6f4..83477692cd 100644
--- a/libavfilter/vf_histogram.c
+++ b/libavfilter/vf_histogram.c
@@ -593,7 +593,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
memset(s->histogram, 0, s->histogram_size * sizeof(unsigned));
}
- out->pts = in->pts;
+ av_frame_copy_props(out, in);
av_frame_free(&in);
s->x_pos++;
if (s->x_pos >= s->width) {