From e079661d23ff3891cf663a85344d1f8eb60a4fe1 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos@ag.or.at>
Date: Wed, 25 Dec 2013 18:34:29 +0100
Subject: [PATCH] ffmpeg_opt: Fix -target vcd

The removed line makes no sense and doesnt work

fixes ticket #3239

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 ffmpeg_opt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index e6ac3ee8e73..d267c6d4e5b 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2133,7 +2133,6 @@ static int opt_target(void *optctx, const char *opt, const char *arg)
         opt_video_codec(o, "c:v", "mpeg1video");
         opt_audio_codec(o, "c:a", "mp2");
         parse_option(o, "f", "vcd", options);
-        av_dict_set(&o->g->codec_opts, "b:v", arg, AV_DICT_DONT_OVERWRITE);
 
         parse_option(o, "s", norm == PAL ? "352x288" : "352x240", options);
         parse_option(o, "r", frame_rates[norm], options);
-- 
GitLab