av_frame_copy_props() already copies pts.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 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++) {
-- 
2.30.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to