ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Wed Feb 18 
22:12:12 2015 +0100| [80d278a981efed4ad07e603d38c493eafe01ba5d] | committer: 
Michael Niedermayer

ffmpeg_opt: Add missing MATCH_PER_TYPE_OPT() for data codecs

Fixes: CID1270809

Signed-off-by: Michael Niedermayer <michae...@gmx.at>

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

 ffmpeg_opt.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index dba59a9..09e6e33 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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to