summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c
index 2462e62ae1..dfb127e7eb 100644
--- a/libavcodec/bsf.c
+++ b/libavcodec/bsf.c
@@ -432,7 +432,7 @@ int av_bsf_list_append2(AVBSFList *lst, const char *bsf_name, AVDictionary ** op
return ret;
if (options) {
- ret = av_opt_set_dict(bsf, options);
+ ret = av_opt_set_dict2(bsf, options, AV_OPT_SEARCH_CHILDREN);
if (ret < 0)
goto end;
}