diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-26 15:31:39 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-26 15:31:39 +0300 |
commit | 37e1edee352afb6d1b212403a84827aa6072943a (patch) | |
tree | 040819e80beb787e1bc8a8305c84a2c6075714a8 /mp_core.h | |
parent | 80d43e8632f3868261a68b75f5e55e5aa5156cd9 (diff) | |
download | mpv-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |