Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-08-26 10:26:35 +0400
committerAnton Khirnov <anton@khirnov.net>2014-08-27 10:31:05 +0400
commitf7395926f204051af9ad459a6d876b96ee6179ee (patch)
tree30f0f376caae60d1583fe87518d7e63493177713
parent7bc37641e3e6c24d472ae06fcbecaba4c863829b (diff)
avconv: fix parsing the AVOptions for -target
CC: libav-stable@libav.org (cherry picked from commit f5245a9c6206878b892adf3ccbccc9311c202af5) Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--avconv_opt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/avconv_opt.c b/avconv_opt.c
index 17abc3c1a3..8ffdde94f5 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -1839,6 +1839,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;
}