diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-18 22:12:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-18 22:13:35 +0100 |
commit | 80d278a981efed4ad07e603d38c493eafe01ba5d (patch) | |
tree | 23ae6947e303e60f4f2174157bc8e5d24d3582be | |
parent | 77c133f7ac526a32fc99d4abc8313984fcfd1a82 (diff) | |
download | ffmpeg-80d278a981efed4ad07e603d38c493eafe01ba5d.tar.gz |
ffmpeg_opt: Add missing MATCH_PER_TYPE_OPT() for data codecs
Fixes: CID1270809
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg_opt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index dba59a9bdb..09e6e33b5c 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -859,6 +859,7 @@ static int open_input_file(OptionsContext *o, const char *filename) MATCH_PER_TYPE_OPT(codec_names, str, video_codec_name, ic, "v"); MATCH_PER_TYPE_OPT(codec_names, str, audio_codec_name, ic, "a"); MATCH_PER_TYPE_OPT(codec_names, str, subtitle_codec_name, ic, "s"); + MATCH_PER_TYPE_OPT(codec_names, str, data_codec_name, ic, "d"); ic->video_codec_id = video_codec_name ? find_codec_or_die(video_codec_name , AVMEDIA_TYPE_VIDEO , 0)->id : AV_CODEC_ID_NONE; |