From 4d2fefd75a57dfd6e60680eaf7408c82e15a025d Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 17 Aug 2017 23:12:44 +0000
Subject: [PATCH] More usage rand_s()

---
 src/image.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/image.c b/src/image.c
index 5835b4b..9efe2f6 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1153,7 +1153,7 @@
 
 void random_distort_image(image im, float hue, float saturation, float exposure)
 {
-    float dhue = rand_uniform(-hue, hue);
+    float dhue = rand_uniform_strong(-hue, hue);
     float dsat = rand_scale(saturation);
     float dexp = rand_scale(exposure);
     distort_image(im, dhue, dsat, dexp);

--
Gitblit v1.10.0