|
|
|
@ -656,7 +656,7 @@ static int writer_open(WriterContext **wctx, const Writer *writer, const char *a |
|
|
|
|
goto fail; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
while ((opt = av_dict_get(opts, "", opt, AV_DICT_IGNORE_SUFFIX))) { |
|
|
|
|
while ((opt = av_dict_iterate(opts, opt))) { |
|
|
|
|
if ((ret = av_opt_set(*wctx, opt->key, opt->value, AV_OPT_SEARCH_CHILDREN)) < 0) { |
|
|
|
|
av_log(*wctx, AV_LOG_ERROR, "Failed to set option '%s' with value '%s' provided to writer context\n", |
|
|
|
|
opt->key, opt->value); |
|
|
|
@ -1945,7 +1945,7 @@ static inline int show_tags(WriterContext *w, AVDictionary *tags, int section_id |
|
|
|
|
return 0; |
|
|
|
|
writer_print_section_header(w, section_id); |
|
|
|
|
|
|
|
|
|
while ((tag = av_dict_get(tags, "", tag, AV_DICT_IGNORE_SUFFIX))) { |
|
|
|
|
while ((tag = av_dict_iterate(tags, tag))) { |
|
|
|
|
if ((ret = print_str_validate(tag->key, tag->value)) < 0) |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
@ -3315,7 +3315,7 @@ static int open_input_file(InputFile *ifile, const char *filename, |
|
|
|
|
ifile->fmt_ctx = fmt_ctx; |
|
|
|
|
if (scan_all_pmts_set) |
|
|
|
|
av_dict_set(&format_opts, "scan_all_pmts", NULL, AV_DICT_MATCH_CASE); |
|
|
|
|
while ((t = av_dict_get(format_opts, "", t, AV_DICT_IGNORE_SUFFIX))) |
|
|
|
|
while ((t = av_dict_iterate(format_opts, t))) |
|
|
|
|
av_log(NULL, AV_LOG_WARNING, "Option %s skipped - not known to demuxer.\n", t->key); |
|
|
|
|
|
|
|
|
|
if (find_stream_info) { |
|
|
|
|