diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-17 17:04:50 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-20 13:52:41 +0200 |
commit | f3d206d25ffdb02ba30b9bf37720f94819f9be3e (patch) | |
tree | 94a87e39d2a69f8574b5ef918698da044b085167 /fftools/ffprobe.c | |
parent | 482afe8f3f7b9ea17521371c53e9d783be95020a (diff) | |
download | ffmpeg-f3d206d25ffdb02ba30b9bf37720f94819f9be3e.tar.gz |
fftools, avfilter, avformat: Simplify check for "is dictionary empty?"
Reviewed-by: epirat07@gmail.com
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
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 5b40dad527..2d38e5dfdc 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -3951,7 +3951,7 @@ static int open_input_file(InputFile *ifile, const char *filename, exit(1); } - if ((t = av_dict_get(opts, "", NULL, AV_DICT_IGNORE_SUFFIX))) { + if ((t = av_dict_iterate(opts, NULL))) { av_log(NULL, AV_LOG_ERROR, "Option %s for input stream %d not found\n", t->key, stream->index); return AVERROR_OPTION_NOT_FOUND; |