[FFmpeg-devel] [PATCH 1/3] avfilter/avfilter: Remove redundant assignment
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Tue Aug 17 07:47:34 EEST 2021
av_frame_copy_props() already copies pts.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at 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
More information about the ffmpeg-devel
mailing list