diff options
Diffstat (limited to 'camlibs/ax203')
-rw-r--r-- | camlibs/ax203/ax203.c | 2 | ||||
-rw-r--r-- | camlibs/ax203/library.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/camlibs/ax203/ax203.c b/camlibs/ax203/ax203.c index f5a67f78d..8ff4445fd 100644 --- a/camlibs/ax203/ax203.c +++ b/camlibs/ax203/ax203.c @@ -1140,6 +1140,7 @@ ax203_decode_image(Camera *camera, char *src, int src_size, int **dest) break; } #endif + gp_log(GP_LOG_ERROR,"ax203", "GD decompression not supported - no libGD present during build"); /* Never reached */ return GP_ERROR_NOT_SUPPORTED; } @@ -1217,6 +1218,7 @@ ax203_encode_image(Camera *camera, int **src, char *dest, int dest_size) } /* Never reached */ #endif + gp_log(GP_LOG_ERROR,"ax203", "GD decompression not supported - no libGD present during build"); return GP_ERROR_NOT_SUPPORTED; } diff --git a/camlibs/ax203/library.c b/camlibs/ax203/library.c index ae4846a29..ad07cd8a1 100644 --- a/camlibs/ax203/library.c +++ b/camlibs/ax203/library.c @@ -215,6 +215,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, gdFree (gdpng); return ret; #else + gp_log(GP_LOG_ERROR,"ax203", "GD decompression not supported - no libGD present during build"); return GP_ERROR_NOT_SUPPORTED; #endif } @@ -299,6 +300,7 @@ put_file_func (CameraFilesystem *fs, const char *folder, const char *name, gdImageDestroy (im_out); return ret; #else + gp_log(GP_LOG_ERROR,"ax203", "GD compression not supported - no libGD present during build"); return GP_ERROR_NOT_SUPPORTED; #endif } |