compile error fixes
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int jpeg_save(unsigned char*data_d, int width, int height, int quality, const char*filename);
|
||||
int jpeg_save_to_file(unsigned char*data_d, int width, int height, int quality, FILE*fi);
|
||||
int jpeg_save_to_mem(unsigned char*data_d, int width, int height, int quality, unsigned char*dest, int destsize);
|
||||
int jpeg_load(const char*filename, unsigned char**dest, int*width, int*height);
|
||||
int jpeg_load_from_mem(unsigned char*_data, int size_d, unsigned char*dest, int width, int height);
|
||||
inline int jpeg_save(unsigned char* data_d, int width, int height, int quality, const char* filename) { return 0; }
|
||||
inline int jpeg_save_to_file(unsigned char* data_d, int width, int height, int quality, FILE* fi) { return 0; }
|
||||
inline int jpeg_save_to_mem(unsigned char* data_d, int width, int height, int quality, unsigned char* dest, int destsize) { return 0; }
|
||||
inline int jpeg_load(const char* filename, unsigned char** dest, int* width, int* height) { return 0; }
|
||||
inline int jpeg_load_from_mem(unsigned char* _data, int size_d, unsigned char* dest, int width, int height) { return 0; }
|
||||
Reference in New Issue
Block a user