fftools/ffmpeg: replace InputStream.file_index by a pointer

Reduces the need to use the input_files global array.
This commit is contained in:
Anton Khirnov
2023-12-13 18:39:02 +01:00
parent 84201d8af6
commit 0fcea80b2a
6 changed files with 27 additions and 26 deletions

View File

@@ -338,7 +338,9 @@ typedef struct Decoder Decoder;
typedef struct InputStream {
const AVClass *class;
int file_index;
/* parent source */
struct InputFile *file;
int index;
AVStream *st;