aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffprobe.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-17 17:04:50 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-20 13:52:41 +0200
commitf3d206d25ffdb02ba30b9bf37720f94819f9be3e (patch)
tree94a87e39d2a69f8574b5ef918698da044b085167 /fftools/ffprobe.c
parent482afe8f3f7b9ea17521371c53e9d783be95020a (diff)
downloadffmpeg-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.c2
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;