aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-09-04 14:29:38 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-04 11:55:03 +0200
commit69f770f77c1b003c96eae39a829c4afd8deca8b7 (patch)
tree211967d354d62310dcfcab9b23b65c148f6f7684
parent76678b71372a55cd1e4f431d1fa4b7c604ba83c3 (diff)
downloadffmpeg-69f770f77c1b003c96eae39a829c4afd8deca8b7.tar.gz
fftools/ffmpeg: stop setting OutputStream.sync_opts for streamcopy
It is not used for anything.
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 0 insertions, 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;