From 26e779c9aa74b84e50d4ca2ea14adf4bc1d961ac Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 May 2015 18:47:57 +0200 Subject: build: move main-fn files to osdep And split the Cocoa and Unix cases. Simplify the Cocoa case slightly by calling mpv_main directly, instead of passing a function pointer. Also add a comment explaining why Cocoa needs a special case at all. (cherry picked from commit 1e7831070f6ae1af0a1a29b0d680ef2907bf8cf6) --- player/core.h | 1 - 1 file changed, 1 deletion(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index da9401be36..ea7694d02a 100644 --- a/player/core.h +++ b/player/core.h @@ -404,7 +404,6 @@ struct track *select_track(struct MPContext *mpctx, enum stream_type type, int tid, int ffid, char **langs); // main.c -int mpv_main(int argc, char *argv[]); int mp_initialize(struct MPContext *mpctx, char **argv); struct MPContext *mp_create(void); void mp_destroy(struct MPContext *mpctx); -- cgit v1.2.3