diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-02 18:46:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-02 18:46:25 +0200 |
commit | cea9ee5dbd9312076676693be4dfadb0664ea420 (patch) | |
tree | 54798510ff5c7fc69501edbb28df4a8127bca668 /libavformat | |
parent | 41a679000f22884017107e90bfbcf2069c69d08c (diff) | |
parent | fa4f7b17bc120effb82874538d895da1c92ba886 (diff) | |
download | ffmpeg-cea9ee5dbd9312076676693be4dfadb0664ea420.tar.gz |
Merge remote-tracking branch 'lukaszmluki/master'
* lukaszmluki/master:
lavd/xv: reident after previous commits
lavf/mux: pass options to nested structs of priv data
lavu/opt: add av_opt_set_dict2() function
lavd/opengl_enc: fix window size correction code
lavd/opengl_enc: add window size param
lavd/opengl_enc: use flag to mark inited context
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c index 6847ec342b..7b4f7c77d3 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -334,7 +334,7 @@ static int init_muxer(AVFormatContext *s, AVDictionary **options) if (of->priv_class) { *(const AVClass **)s->priv_data = of->priv_class; av_opt_set_defaults(s->priv_data); - if ((ret = av_opt_set_dict(s->priv_data, &tmp)) < 0) + if ((ret = av_opt_set_dict2(s->priv_data, &tmp, AV_OPT_SEARCH_CHILDREN)) < 0) goto fail; } } |