mirror of
https://github.com/videolan/vlc.git
synced 2024-12-14 04:04:45 +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.
21 lines
409 B
C
21 lines
409 B
C
#ifndef _WRAPPER_H
|
|
#define _WRAPPER_H
|
|
|
|
#include <inttypes.h>
|
|
|
|
typedef struct {
|
|
uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
|
|
} reg386_t;
|
|
|
|
typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg, uint32_t *flags);
|
|
|
|
extern wrapper_func_t report_entry, report_ret;
|
|
|
|
extern void (*wrapper_target)(void);
|
|
|
|
extern int wrapper(void);
|
|
extern int null_call(void);
|
|
|
|
#endif /* _WRAPPER_H */
|
|
|