CC: libav-stable@libav.org
(cherry picked from commit f5245a9c6206878b892adf3ccbccc9311c202af5)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit f7395926f204051af9ad459a6d876b96ee6179ee)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
... | ... |
@@ -1633,6 +1633,10 @@ static int opt_target(void *optctx, const char *opt, const char *arg) |
1633 | 1633 |
av_log(NULL, AV_LOG_ERROR, "Unknown target: %s\n", arg); |
1634 | 1634 |
return AVERROR(EINVAL); |
1635 | 1635 |
} |
1636 |
+ |
|
1637 |
+ av_dict_copy(&o->g->codec_opts, codec_opts, 0); |
|
1638 |
+ av_dict_copy(&o->g->format_opts, format_opts, 0); |
|
1639 |
+ |
|
1636 | 1640 |
return 0; |
1637 | 1641 |
} |
1638 | 1642 |
|