fftools/ffmpeg: move fix_sub_duration_heartbeat() to ffmpeg_dec

This way ffmpeg.c does not need to access InputStream.prev_sub and it
can be made private.
This commit is contained in:
Anton Khirnov
2023-06-14 16:09:25 +02:00
parent 01897c1788
commit a45b9d35b9
3 changed files with 20 additions and 20 deletions

View File

@@ -879,7 +879,7 @@ OutputStream *ost_iter(OutputStream *prev);
void close_output_stream(OutputStream *ost);
int trigger_fix_sub_duration_heartbeat(OutputStream *ost, const AVPacket *pkt);
int process_subtitle(InputStream *ist, AVSubtitle *subtitle);
int fix_sub_duration_heartbeat(InputStream *ist, int64_t signal_pts);
void update_benchmark(const char *fmt, ...);
/**