summaryrefslogtreecommitdiffstats
path: root/player/main_fn.c
blob: 23a047b4dc2e3b273b4692509e7615c431d97cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "config.h"
#include "core.h"

#if HAVE_COCOA_APPLICATION
#include "osdep/macosx_application.h"
#endif

int main(int argc, char *argv[])
{
#if HAVE_COCOA_APPLICATION
    return cocoa_main(mpv_main, argc, argv);
#else
    return mpv_main(argc, argv);
#endif
}