You've already forked FFmpeg
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:
@@ -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();
|
||||||
* }
|
* }
|
||||||
|
Reference in New Issue
Block a user