diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-11-26 15:46:48 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-12-01 11:21:15 +0100 |
commit | 45ab5307a6e8c04b4ea91b1e1ccf71ba38195f7c (patch) | |
tree | ab832f6f1c2e9c85f3cfd63c019c4438bf2e7269 | |
parent | d75d8370bd1c08f488ed0b30794f72e03f67c7a3 (diff) | |
download | ffmpeg-45ab5307a6e8c04b4ea91b1e1ccf71ba38195f7c.tar.gz |
avformat/fifo: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavformat/fifo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/fifo.c b/libavformat/fifo.c index 7b35c9bf02..c125a97b0d 100644 --- a/libavformat/fifo.c +++ b/libavformat/fifo.c @@ -148,8 +148,8 @@ static int fifo_thread_write_header(FifoThreadContext *ctx) // Check for options unrecognized by underlying muxer if (format_options) { - AVDictionaryEntry *entry = NULL; - while ((entry = av_dict_get(format_options, "", entry, AV_DICT_IGNORE_SUFFIX))) + const AVDictionaryEntry *entry = NULL; + while ((entry = av_dict_iterate(format_options, entry))) av_log(avf2, AV_LOG_ERROR, "Unknown option '%s'\n", entry->key); ret = AVERROR(EINVAL); } |