diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-11 06:44:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-11 06:44:27 +0300 |
commit | 36e5c9e026a49d0ead2290ae8c1d3ec27205b4a5 (patch) | |
tree | ea7885048c1a85027ff55591256cbe58c322a334 /source | |
parent | eeeb2c196773c13d49b9ad95260242401ab40498 (diff) | |
parent | 12168ccf189df580b3a2ffd95bcc31a51c7d86a3 (diff) |
Merge branch 'blender-v2.91-release'
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/imbuf/intern/radiance_hdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/radiance_hdr.c b/source/blender/imbuf/intern/radiance_hdr.c index 4cd44a25cb8..599388442ca 100644 --- a/source/blender/imbuf/intern/radiance_hdr.c +++ b/source/blender/imbuf/intern/radiance_hdr.c @@ -203,7 +203,7 @@ int imb_is_a_hdr(const unsigned char *buf) /* update: actually, the 'RADIANCE' part is just an optional program name, * the magic word is really only the '#?' part */ // if (strstr((char *)buf, "#?RADIANCE")) return 1; - if (strstr((char *)buf, "#?")) { + if (memcmp((char *)buf, "#?", 2) == 0) { return 1; } // if (strstr((char *)buf, "32-bit_rle_rgbe")) return 1; |