summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 15:31:39 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 15:31:39 +0300
commit37e1edee352afb6d1b212403a84827aa6072943a (patch)
tree040819e80beb787e1bc8a8305c84a2c6075714a8 /mp_core.h
parent80d43e8632f3868261a68b75f5e55e5aa5156cd9 (diff)
downloadmpv-37e1edee352afb6d1b212403a84827aa6072943a.tar.bz2
mpv-37e1edee352afb6d1b212403a84827aa6072943a.tar.xz
Move initialized_flags to mpctx
The function exit_sighandler had a line if(initialized_flags==0 && sig_count>1) exit(1); rather than try to make this work without the variable I just removed the line as it looks unlikely this condition would occur except very rarely.
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index 7c092024b4..aaede73586 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -47,6 +47,7 @@ typedef struct MPContext {
char *filename; // currently playing file
int eof;
int play_tree_step;
+ unsigned int initialized_flags; // which subsystems have been initialized
struct stream *stream;
struct demuxer *demuxer;