diff options
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/radiance_hdr.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/imbuf/intern/radiance_hdr.c b/source/blender/imbuf/intern/radiance_hdr.c index 0bca68b93bc..925ef0a8502 100644 --- a/source/blender/imbuf/intern/radiance_hdr.c +++ b/source/blender/imbuf/intern/radiance_hdr.c @@ -255,12 +255,7 @@ struct ImBuf *imb_loadhdr(const unsigned char *mem, char buf[32] = {0}; memcpy(buf, &mem[x], MIN2(sizeof(buf) - 1, size - x)); - if (sscanf(buf, - "%2s %d %2s %d", - (char *)&oriY, - &height, - (char *)&oriX, - &width) != 4) { + if (sscanf(buf, "%2s %d %2s %d", (char *)&oriY, &height, (char *)&oriX, &width) != 4) { return NULL; } |