Mercurial > mplayer.hg
view loader/ldt_keeper.h @ 36660:7fd255e0db1b
stream.c: remove pointless NULL check.
Since it currently is a fixed-size array it can never be NULL.
But even if this was changed, this check has no real value:
it should still only be possible in case of an obvious code bug
during development and the crash it would cause would be easy enough
to debug.
author | reimar |
---|---|
date | Sun, 26 Jan 2014 18:59:15 +0000 |
parents | 6506ce7ba414 |
children |
line wrap: on
line source
#ifndef MPLAYER_LDT_KEEPER_H #define MPLAYER_LDT_KEEPER_H extern void *fs_seg; typedef struct { void* fs_seg; char* prev_struct; } ldt_fs_t; void Setup_FS_Segment(void); ldt_fs_t* Setup_LDT_Keeper(void); void Restore_LDT_Keeper(ldt_fs_t* ldt_fs); #endif /* MPLAYER_LDT_KEEPER_H */