Description: Initialize the JESS scalar 8-bit blur bound
 The non-MMX 8-bit rendering loop uses bmax without initializing it,
 which can iterate beyond the pixel buffer and crash. Move the existing
 assignment before the MMX/non-MMX branch so both paths use the same bound.
Author: Federico Molara <federico@molara.net>
Forwarded: https://github.com/Libvisual/libvisual/pull/433
Last-Update: 2026-11-01

--- a/plugins/actor/JESS/renderer.c
+++ b/plugins/actor/JESS/renderer.c
@@ -388,6 +388,6 @@
 	if (priv->video == 8)
 	{
+		bmax = priv->resx * (priv->resy-1) + (intptr_t) priv->pixel;
 		if (visual_cpu_get_mmx ()) {
-			bmax = priv->resx * (priv->resy-1) + (intptr_t) priv->pixel;
 #if defined(VISUAL_ARCH_X86) || defined(VISUAL_ARCH_X86_64)
 			__asm __volatile
