[FFmpeg-cvslog] fftools/ffmpeg: stop setting InputStream.pts for streamcopy

Anton Khirnov git at videolan.org
Mon Apr 24 18:02:59 EEST 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Apr 15 10:21:44 2023 +0200| [65b1350ad482b465c984a4987317e2b15be9d939] | committer: Anton Khirnov

fftools/ffmpeg: stop setting InputStream.pts for streamcopy

It is not used in that case anymore.
Forgotten in d56652fdc8e1315309516be320a7250854550fa5.

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

 fftools/ffmpeg.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index a498a68b20..c55d67f8f9 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1713,7 +1713,6 @@ static int process_input_packet(InputStream *ist, const AVPacket *pkt, int no_eo
             }
             break;
         }
-        ist->pts = ist->dts;
     } else if (!ist->decoding_needed)
         eof_reached = 1;
 



More information about the ffmpeg-cvslog mailing list