fftools/ffmpeg_demux: add demuxer private data

Move InputFile.loop into it.
This commit is contained in:
Anton Khirnov
2022-10-17 11:17:34 +02:00
parent 78efefa9a5
commit 6975320506
2 changed files with 27 additions and 11 deletions

View File

@@ -441,7 +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 */
int loop; /* set number of times input stream should be looped */
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 */