[FFmpeg-cvslog] libavcodec/bsfs: Fix bsf option setting
Jan Sebechlebsky
git at videolan.org
Fri Aug 26 03:15:43 EEST 2016
ffmpeg | branch: master | Jan Sebechlebsky <sebechlebskyjan at gmail.com> | Fri Aug 26 00:47:12 2016 +0200| [bcd115316234e29ae1df93bce517a608f44ec8ff] | committer: Michael Niedermayer
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 at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bcd115316234e29ae1df93bce517a608f44ec8ff
---
libavcodec/bsf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c
index 2462e62..dfb127e 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;
}
More information about the ffmpeg-cvslog
mailing list