Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-11 06:44:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-11 06:44:27 +0300
commit36e5c9e026a49d0ead2290ae8c1d3ec27205b4a5 (patch)
treeea7885048c1a85027ff55591256cbe58c322a334
parenteeeb2c196773c13d49b9ad95260242401ab40498 (diff)
parent12168ccf189df580b3a2ffd95bcc31a51c7d86a3 (diff)
Merge branch 'blender-v2.91-release'
-rw-r--r--source/blender/imbuf/intern/radiance_hdr.c2
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;