fftools/ffmpeg_mux: make ts_copy_start private to muxing code

It is no longer used outside of ffmpeg_mux*
This commit is contained in:
Anton Khirnov
2023-04-13 14:45:58 +02:00
parent 3f11582ca3
commit 83646146fe
4 changed files with 13 additions and 11 deletions

View File

@@ -400,8 +400,8 @@ void of_streamcopy(OutputStream *ost, const AVPacket *pkt, int64_t dts)
if (!ost->streamcopy_started) {
if (!ost->copy_prior_start &&
(pkt->pts == AV_NOPTS_VALUE ?
dts < ost->ts_copy_start :
pkt->pts < av_rescale_q(ost->ts_copy_start, AV_TIME_BASE_Q, pkt->time_base)))
dts < ms->ts_copy_start :
pkt->pts < av_rescale_q(ms->ts_copy_start, AV_TIME_BASE_Q, pkt->time_base)))
return;
if (of->start_time != AV_NOPTS_VALUE && dts < of->start_time)