summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-23 09:29:01 +0200
committerAnton Khirnov <anton@khirnov.net>2016-05-30 17:08:56 +0200
commit6816fde923f7dbff9548b35a824edaceb5a51570 (patch)
tree4a15989b8f41029778c2f66fdb5e60bacbccad4c
parent0e7184f8bd4eda74797bccbdf4a9780312469eeb (diff)
avconv: do not set encoder options when streamcopy is used
-rw-r--r--avconv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/avconv.c b/avconv.c
index 5c34fbb5fd..b400fc1958 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1735,10 +1735,6 @@ static int init_output_stream(OutputStream *ost, char *error, int error_len)
ost->st->time_base = ost->enc_ctx->time_base;
} else if (ost->stream_copy) {
- ret = av_opt_set_dict(ost->enc_ctx, &ost->encoder_opts);
- if (ret < 0)
- return ret;
-
/*
* FIXME: will the codec context used by the parser during streamcopy
* This should go away with the new parser API.