diff mbox series

[FFmpeg-devel,1/3] avfilter/avfilter: Remove redundant assignment

Message ID AM7PR03MB666009CC1226992BA70FBCC08FFE9@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 90550856e5182487bdfbb0527110e4b94ac5ec0f
Headers show
Series [FFmpeg-devel,1/3] avfilter/avfilter: Remove redundant assignment | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Aug. 17, 2021, 4:47 a.m. UTC
av_frame_copy_props() already copies pts.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/avfilter.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Nicolas George Aug. 17, 2021, 7:17 a.m. UTC | #1
Andreas Rheinhardt (12021-08-17):
> av_frame_copy_props() already copies pts.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavfilter/avfilter.c | 1 -
>  1 file changed, 1 deletion(-)

All three look ok. Thanks.

Regards,
diff mbox series

Patch

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