fftools/ffmpeg: move duration/time_base from InputFile to Demuxer

They are private to the demuxer and do not need to be visible outside of
it.
This commit is contained in:
Anton Khirnov 2022-10-17 12:49:51 +02:00
parent 5bc1f177d3
commit 541104f3a3
2 changed files with 18 additions and 15 deletions

View file

@ -441,9 +441,6 @@ typedef struct InputFile {
int eof_reached; /* true if eof reached */
int eagain; /* true if last read attempt returned EAGAIN */
int ist_index; /* index of first stream in input_streams */
int64_t duration; /* actual duration of the longest stream in a file
at the moment when looping happens */
AVRational time_base; /* time base of the duration */
int64_t input_ts_offset;
int input_sync_ref;