mirror of
https://github.com/videolan/vlc.git
synced 2024-12-15 12:43:34 +08:00
6d6ec75ce7
Disabled by default, enable with --enable-loader There's no sanity checks in configure so don't do it if your platform is not compatible. zorglub and Anil report it works for WMV3 with the dmo decoder plugin. It seems to crash with Quicktime (after displaying a few frame ?). There's no RealVideo decoder so, won't do that, but it probably could as well. Legal considerations ===================== Section 2 of the GPL puts no restriction on what you link with so long as you have obtained the program from source (and compiled it yourself), so this is OK. It is not clear to me whether it is ok to provide binaries with this feature enabled. Maybe it would infringe on the GPL and, hence, on VLC's past contributors intellectual rights. So if in doubt don't put this in binary package you make.
23 lines
321 B
C
23 lines
321 B
C
#ifndef LDT_KEEPER_H
|
|
#define LDT_KEEPER_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
typedef struct {
|
|
void* fs_seg;
|
|
char* prev_struct;
|
|
int fd;
|
|
} ldt_fs_t;
|
|
|
|
void Setup_FS_Segment(void);
|
|
ldt_fs_t* Setup_LDT_Keeper(void);
|
|
void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* LDT_KEEPER_H */
|