diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/pictureflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c index 025d1e6be2..31e4c97468 100644 --- a/apps/plugins/pictureflow.c +++ b/apps/plugins/pictureflow.c | |||
@@ -355,7 +355,7 @@ static inline int clz(uint32_t v) | |||
355 | static inline int clz(uint32_t v) | 355 | static inline int clz(uint32_t v) |
356 | { | 356 | { |
357 | uint32_t r = 31; | 357 | uint32_t r = 31; |
358 | if (v > 0x8000) | 358 | if (v >= 0x10000) |
359 | { | 359 | { |
360 | v >>= 16; | 360 | v >>= 16; |
361 | r -= 16; | 361 | r -= 16; |