Commit 80d278a9 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg_opt: Add missing MATCH_PER_TYPE_OPT() for data codecs

Fixes: CID1270809
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 77c133f7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment