AV_OPT_SEARCH_CHILDREN flag must be passed to av_opt_set_dict() to set options for private context.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -432,7 +432,7 @@ int av_bsf_list_append2(AVBSFList *lst, const char *bsf_name, AVDictionary ** op · 431 unmodified lines | ||
| 432 | 432 | return ret; |
| 433 | 433 | |
| 434 | 434 | if (options) { |
| 435 | − ret = av_opt_set_dict(bsf, options); | |
| 435 | + ret = av_opt_set_dict2(bsf, options, AV_OPT_SEARCH_CHILDREN); | |
| 436 | 436 | if (ret < 0) |
| 437 | 437 | goto end; |
| 438 | 438 | } |