constant qscale was broken due to libavcodec changes, fix taken from ve_lavc.c
[mplayer/greg.git] / loader / wrapper.h
blobe307c0e65494e5b4bb277f5681b00bfd9bf1b4f9
1 #ifndef _WRAPPER_H
2 #define _WRAPPER_H
4 #include <sys/types.h>
6 typedef struct {
7 u_int32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
8 } reg386_t;
10 typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg, u_int32_t *flags);
12 extern wrapper_func_t report_entry, report_ret;
14 extern void (*wrapper_target)(void);
16 extern int wrapper(void);
17 extern int null_call(void);
19 #endif /* _WRAPPER_H */