]> git.sesse.net Git - ffmpeg/blobdiff - ffplay.c
Null pointer check / CID26.
[ffmpeg] / ffplay.c
index 54b6e41c8359a5875ff9c385701a4b1d6f0895dd..62915d2e658fac455631e2a2ecbae8127120b86e 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -2435,6 +2435,8 @@ static int opt_thread_count(const char *opt, const char *arg)
 static const OptionDef options[] = {
     { "h", OPT_EXIT, {(void*)show_help}, "show help" },
     { "version", OPT_EXIT, {(void*)show_version}, "show version" },
+    { "L", OPT_EXIT, {(void*)show_license}, "show license" },
+    { "formats", OPT_EXIT, {(void*)show_formats}, "show available formats, codecs, protocols, ..." },
     { "x", HAS_ARG | OPT_FUNC2, {(void*)opt_width}, "force displayed width", "width" },
     { "y", HAS_ARG | OPT_FUNC2, {(void*)opt_height}, "force displayed height", "height" },
     { "s", HAS_ARG | OPT_VIDEO, {(void*)opt_frame_size}, "set frame size (WxH or abbreviation)", "size" },