[FFmpeg-cvslog] avfilter/avfilter: Remove redundant assignment

Andreas Rheinhardt git at videolan.org
Tue Aug 17 20:50:05 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Aug 17 05:33:21 2021 +0200| [90550856e5182487bdfbb0527110e4b94ac5ec0f] | committer: Andreas Rheinhardt

avfilter/avfilter: Remove redundant assignment

av_frame_copy_props() already copies pts.

Reviewed-by: Nicolas George <george at nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90550856e5182487bdfbb0527110e4b94ac5ec0f
---

 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++) {



More information about the ffmpeg-cvslog mailing list