1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "config.h" #include "core.h" #if HAVE_COCOA #include "osdep/macosx_application.h" #endif int main(int argc, char *argv[]) { #if HAVE_COCOA return cocoa_main(mpv_main, argc, argv); #else return mpv_main(argc, argv); #endif }