ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Sun Sep  4 
14:29:38 2022 +0200| [69f770f77c1b003c96eae39a829c4afd8deca8b7] | committer: 
Anton Khirnov

fftools/ffmpeg: stop setting OutputStream.sync_opts for streamcopy

It is not used for anything.

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

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

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 971c146fea..1a6768f6c2 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1934,8 +1934,6 @@ static void do_streamcopy(InputStream *ist, OutputStream 
*ost, const AVPacket *p
 
     opkt->duration = av_rescale_q(pkt->duration, ist->st->time_base, 
ost->mux_timebase);
 
-    ost->sync_opts += opkt->duration;
-
     output_packet(of, opkt, ost, 0);
 
     ost->streamcopy_started = 1;

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

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

Reply via email to