1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

doc: use av_dict_iterate in documentation example

This commit is contained in:
Marvin Scholz
2025-05-23 17:05:09 +02:00
parent 922a1ca989
commit 2dcd9c5aac

View File

@@ -146,8 +146,8 @@
* consumed). The calling program can handle such unrecognized options as it * consumed). The calling program can handle such unrecognized options as it
* wishes, e.g. * wishes, e.g.
* @code * @code
* AVDictionaryEntry *e; * const AVDictionaryEntry *e;
* if (e = av_dict_get(options, "", NULL, AV_DICT_IGNORE_SUFFIX)) { * if ((e = av_dict_iterate(options, NULL))) {
* fprintf(stderr, "Option %s not recognized by the demuxer.\n", e->key); * fprintf(stderr, "Option %s not recognized by the demuxer.\n", e->key);
* abort(); * abort();
* } * }