summaryrefslogtreecommitdiff
path: root/avconv_opt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-08-26 06:26:35 +0000
committerAnton Khirnov <anton@khirnov.net>2014-08-27 06:21:55 +0000
commitf5245a9c6206878b892adf3ccbccc9311c202af5 (patch)
treeb804cc8763cfd9d11831b6dacade52d650501a46 /avconv_opt.c
parent1688eef25385089026aba55da1885f70a57815ab (diff)
avconv: fix parsing the AVOptions for -target
CC: libav-stable@libav.org
Diffstat (limited to 'avconv_opt.c')
-rw-r--r--avconv_opt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/avconv_opt.c b/avconv_opt.c
index 33ac290b19..2d0691252a 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -1870,6 +1870,10 @@ static int opt_target(void *optctx, const char *opt, const char *arg)
av_log(NULL, AV_LOG_ERROR, "Unknown target: %s\n", arg);
return AVERROR(EINVAL);
}
+
+ av_dict_copy(&o->g->codec_opts, codec_opts, 0);
+ av_dict_copy(&o->g->format_opts, format_opts, 0);
+
return 0;
}