libavcodec/bsfs: Fix bsf option setting

AV_OPT_SEARCH_CHILDREN flag must be passed to av_opt_set_dict()
to set options for private context.

Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Jan Sebechlebsky 2016-08-26 00:47:12 +02:00 committed by Michael Niedermayer
parent ec220a8c1c
commit bcd1153162
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}