diff options
author | Thilo Borgmann <thilo.borgmann@mail.de> | 2023-04-04 14:28:42 +0200 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@mail.de> | 2023-04-04 14:28:42 +0200 |
commit | d0400f6342a83d22825fd43ba4f4482a96b6ecb7 (patch) | |
tree | 8ee074f46ccf8d9462870fe55f1f30eca1a17311 /fftools/ffmpeg_opt.c | |
parent | 5f1ccd74d637b3debe708accf1ccaa78119ea28c (diff) |
last to merge
Diffstat (limited to 'fftools/ffmpeg_opt.c')
-rw-r--r-- | fftools/ffmpeg_opt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 51f2fcaf31..457ae27a23 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -1229,7 +1229,7 @@ static const OptionGroupDef groups[] = { }; static int open_files(OptionGroupList *l, const char *inout, int pass, - int (*open_file)(OptionsContext*, const char*, int, int)) + int (*open_file)(const OptionsContext*, const char*, int, int)) { int i, ret; @@ -1288,7 +1288,7 @@ int ffmpeg_parse_options(int argc, char **argv) term_init(); /* open input files */ - ret = open_files(&octx.groups[GROUP_INFILE], "input", 0, ifile_open); + ret = open_files(&octx.groups[GROUP_INFILE], "input", 0, &ifile_open); if (ret < 0) { av_log(NULL, AV_LOG_FATAL, "Error opening input files: "); goto fail; @@ -1305,13 +1305,13 @@ int ffmpeg_parse_options(int argc, char **argv) } /* open output files */ - ret = open_files(&octx.groups[GROUP_OUTFILE], "output", pass, of_open); + ret = open_files(&octx.groups[GROUP_OUTFILE], "output", pass, &of_open); if (ret < 0) { av_log(NULL, AV_LOG_FATAL, "Error opening output files: "); goto fail; } - ret = open_files(&octx.groups[GROUP_DECODER], "decoder", pass, open_decoder); + ret = open_files(&octx.groups[GROUP_DECODER], "decoder", pass, &open_decoder); if (ret < 0) { av_log(NULL, AV_LOG_FATAL, "Error opening decoders: "); goto fail; |