diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-21 06:07:22 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-23 13:48:33 +0300 |
commit | c1f9fe7d673ab7c34232a1fe9312e60f81503ccf (patch) | |
tree | 2bfe895f3b56deede80ca8243bc0ed3c46231cd7 /metadata.h | |
parent | ef74d21b1f1d96b2e3f180c021998fbdd80ffcba (diff) | |
download | mpv-c1f9fe7d673ab7c34232a1fe9312e60f81503ccf.tar.bz2 mpv-c1f9fe7d673ab7c34232a1fe9312e60f81503ccf.tar.xz |
Remove static mpctx from mplayer.c
Pass it in function calls instead. There's no reasonable way to pass
it to exit_player() when used outside mplayer.c. However most of those
uses seem to be wrong (the code should not make the program exit) and
should be removed. For now just make exit_player() uses outside
mplayer.c simply call exit() without any shutdown code.
Diffstat (limited to 'metadata.h')
-rw-r--r-- | metadata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/metadata.h b/metadata.h index 6cd75ea3e0..b500358ed1 100644 --- a/metadata.h +++ b/metadata.h @@ -45,7 +45,9 @@ enum metadata_s { META_INFO_GENRE }; -char *get_metadata (metadata_t type); +struct MPContext; + +char *get_metadata(struct MPContext *mpctx, metadata_t type); #endif /* MPLAYER_METADATA_H */ |