annotate loader/ldt_keeper.h @ 31003:00825525514e
Replace memalign(x) (x > 8) by av_malloc() to prevent crashes on systems
lacking memalign(), e.g. Win32.
author |
zuxy |
date |
Tue, 20 Apr 2010 04:33:00 +0000 |
parents |
26f673ba0675 |
children |
6506ce7ba414 |
rev |
line source |
26045
|
1 #ifndef MPLAYER_LDT_KEEPER_H
|
|
2 #define MPLAYER_LDT_KEEPER_H
|
2067
|
3
|
7386
|
4 typedef struct {
|
|
5 void* fs_seg;
|
|
6 char* prev_struct;
|
|
7 } ldt_fs_t;
|
|
8
|
2067
|
9 void Setup_FS_Segment(void);
|
7386
|
10 ldt_fs_t* Setup_LDT_Keeper(void);
|
|
11 void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);
|
2067
|
12
|
26045
|
13 #endif /* MPLAYER_LDT_KEEPER_H */
|