return THUMBNAIL_UTIL_ERROR_NONE;
}
- return THUMBNAIL_UTIL_ERROR_INVALID_PARAMETER;
+ return THUMBNAIL_UTIL_ERROR_UNSUPPORTED_CONTENT;
}
int thumbnail_util_extract_to_buffer(const char *path, unsigned int width, unsigned int height, unsigned char **thumb_buffer, size_t *thumb_size, unsigned int *thumb_width, unsigned int *thumb_height)