Mercurial > mplayer.hg
view loader/ldt_keeper.h @ 30534:65a8e80c1474
Avoid using sscanf for basic parsing, it is horribly slow.
Now uses strncmp as a first step, which is 40 times faster.
author | reimar |
---|---|
date | Sun, 14 Feb 2010 13:57:30 +0000 |
parents | 26f673ba0675 |
children | 6506ce7ba414 |
line wrap: on
line source
#ifndef MPLAYER_LDT_KEEPER_H #define MPLAYER_LDT_KEEPER_H 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 */