summaryrefslogtreecommitdiff
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-22 18:20:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-22 18:58:51 +0200
commit374033ee93b5ff2577a63e07e10307d435e80885 (patch)
tree791764252976b3fbe7fad14ce103c8d58cf5422c /ffmpeg_opt.c
parent8ccb56abeeecb71a6e77ecc8cbb5370ee993176a (diff)
ffmpeg: remove now unneeded old *_codec_name code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index e759125c83..0bdbd67e2b 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -91,9 +91,6 @@ int frame_bits_per_raw_sample = 0;
static int intra_only = 0;
-static const char *video_codec_name = NULL;
-static const char *audio_codec_name = NULL;
-static const char *subtitle_codec_name = NULL;
static int file_overwrite = 0;
static int no_file_overwrite = 0;
static int video_discard = 0;
@@ -178,21 +175,18 @@ static int opt_video_standard(void *optctx, const char *opt, const char *arg)
static int opt_audio_codec(void *optctx, const char *opt, const char *arg)
{
OptionsContext *o = optctx;
- audio_codec_name = arg;
return parse_option(o, "codec:a", arg, options);
}
static int opt_video_codec(void *optctx, const char *opt, const char *arg)
{
OptionsContext *o = optctx;
- video_codec_name = arg;
return parse_option(o, "codec:v", arg, options);
}
static int opt_subtitle_codec(void *optctx, const char *opt, const char *arg)
{
OptionsContext *o = optctx;
- subtitle_codec_name = arg;
return parse_option(o, "codec:s", arg, options);
}