From 69f770f77c1b003c96eae39a829c4afd8deca8b7 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 4 Sep 2022 14:29:38 +0200 Subject: [PATCH] fftools/ffmpeg: stop setting OutputStream.sync_opts for streamcopy It is not used for anything. --- 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;