fftools/ffmpeg_mux: make copy_prior_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 8763b9cc36
commit 7f8827f28e
4 changed files with 5 additions and 5 deletions

View File

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