diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-04-09 12:56:46 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-07-03 11:38:52 +0200 |
commit | f1664aabb18b2d726c3c0c0b7fa8202f3b52b8da (patch) | |
tree | bcbff7ba11217d943ce7992c6fe47ce8ebe67622 /fftools/ffprobe.c | |
parent | fc446eea05b9bc7de9a3c6b56dae8255bb5c5b5d (diff) | |
download | ffmpeg-f1664aabb18b2d726c3c0c0b7fa8202f3b52b8da.tar.gz |
fftools/ffmpeg: rewrite checking whether codec AVOptions have been used
Share the code between encoding and decoding. Instead of checking every
stream's options dictionary (which is also used for other purposes),
track all used options in a dedicated dictionary.
Diffstat (limited to 'fftools/ffprobe.c')
-rw-r--r-- | fftools/ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index b69a75ff9a..71d1ffc21f 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -3927,7 +3927,7 @@ static int open_input_file(InputFile *ifile, const char *filename, AVDictionary *opts; err = filter_codec_opts(codec_opts, stream->codecpar->codec_id, - fmt_ctx, stream, codec, &opts); + fmt_ctx, stream, codec, &opts, NULL); if (err < 0) exit(1); |