mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[WINDOWSCODECS] Fix stack pointer corruption when handling PNGs.
Without PNG_API_RULE defined, these functions (like all others) aren't stdcall.
This commit is contained in:
parent
680d69d373
commit
1f7cb06c22
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ typedef void (__cdecl typeof(png_write_info))(struct png_struct_def *, struct pn
|
||||||
typedef void (__cdecl typeof(png_write_rows))(struct png_struct_def *, unsigned char **row, unsigned int);
|
typedef void (__cdecl typeof(png_write_rows))(struct png_struct_def *, unsigned char **row, unsigned int);
|
||||||
typedef unsigned int (__cdecl typeof(png_get_iCCP))(struct png_struct_def *, struct png_info_def *, char **, int *, char **, unsigned int *);
|
typedef unsigned int (__cdecl typeof(png_get_iCCP))(struct png_struct_def *, struct png_info_def *, char **, int *, char **, unsigned int *);
|
||||||
typedef void (__cdecl typeof(png_set_crc_action))(struct png_struct_def *, int, int);
|
typedef void (__cdecl typeof(png_set_crc_action))(struct png_struct_def *, int, int);
|
||||||
typedef void (__stdcall typeof(png_set_PLTE))(struct png_struct_def *, struct png_info_def *, const struct png_color_struct *, int);
|
typedef void (__cdecl typeof(png_set_PLTE))(struct png_struct_def *, struct png_info_def *, const struct png_color_struct *, int);
|
||||||
typedef void (__stdcall typeof(png_set_tRNS))(struct png_struct_def *, struct png_info_def *, const unsigned char *, int, const struct png_color_16_struct *);
|
typedef void (__cdecl typeof(png_set_tRNS))(struct png_struct_def *, struct png_info_def *, const unsigned char *, int, const struct png_color_16_struct *);
|
||||||
typedef void (__cdecl typeof(png_set_filter))(struct png_struct_def *, int, int);
|
typedef void (__cdecl typeof(png_set_filter))(struct png_struct_def *, int, int);
|
||||||
typedef void *thandle_t_1;
|
typedef void *thandle_t_1;
|
||||||
typedef int (*TIFFReadWriteProc_1)(thandle_t_1, void *, __typeof_intptr);
|
typedef int (*TIFFReadWriteProc_1)(thandle_t_1, void *, __typeof_intptr);
|
||||||
|
|
Loading…
Reference in a new issue