[FFmpeg-cvslog] avconv: do not set encoder options when streamcopy is used

Anton Khirnov git at videolan.org
Sun Sep 25 20:16:28 EEST 2016


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon May 23 09:29:01 2016 +0200| [1e93c1e30ff0e8bf6094a426ca60f005e9cdaed3] | committer: Anton Khirnov

avconv: do not set encoder options when streamcopy is used

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e93c1e30ff0e8bf6094a426ca60f005e9cdaed3
---

 avconv.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/avconv.c b/avconv.c
index 6470837..d7365f3 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.



More information about the ffmpeg-cvslog mailing list