From 90550856e5182487bdfbb0527110e4b94ac5ec0f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 17 Aug 2021 05:33:21 +0200 Subject: [PATCH] avfilter/avfilter: Remove redundant assignment av_frame_copy_props() already copies pts. Reviewed-by: Nicolas George Signed-off-by: Andreas Rheinhardt --- libavfilter/avfilter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 843b5947e5..cc24a6ed21 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -1068,7 +1068,6 @@ static int take_samples(AVFilterLink *link, unsigned min, unsigned max, av_frame_free(&buf); return ret; } - buf->pts = frame0->pts; p = 0; for (i = 0; i < nb_frames; i++) {