Evas DDS: Silently fail when the format is not DDS

Evas can try all image loaders sequentially and they shouldn't
complain that the file does not match their format.
This commit is contained in:
Jean-Philippe Andre 2014-07-24 15:21:16 +09:00
parent 0d9005aa0c
commit a94ecda7c0
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ evas_image_load_file_head_dds(void *loader_data,
*error = EVAS_LOAD_ERROR_CORRUPT_FILE;
if (strncmp(m, "DDS ", 4) != 0)
// TODO: Add support for DX10
FAIL();
goto on_error;
m += 4;
// Read DDS_HEADER