summaryrefslogtreecommitdiffstats
path: root/player/main_fn.c
blob: 87e1681987145fcf67e85bede122c9e7efad41fb (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
#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
}