fftools/ffmpeg: replace OutputStream.file_index by a pointer

Reduces the need to use the output_files global array.
This commit is contained in:
Anton Khirnov
2023-12-13 18:39:02 +01:00
parent 0fcea80b2a
commit 4224895a87
6 changed files with 42 additions and 40 deletions

View File

@@ -519,7 +519,9 @@ typedef struct OutputStream {
enum AVMediaType type;
int file_index; /* file index */
/* parent muxer */
struct OutputFile *file;
int index; /* stream index in the output file */
/**