LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File blender-undefined-op.patch of Package blender (Project graphics:rendering)

--- release/plugins/sequence/dnr.c
+++ release/plugins/sequence/dnr.c
@@ -110,9 +110,12 @@
 	unsigned char * dst = dst_;
 
 	while (count--) {
-		*dst++ = table[(*src++ << 8) | *dst];
-		*dst++ = table[(*src++ << 8) | *dst];
-		*dst++ = table[(*src++ << 8) | *dst];
+		*dst = table[(*src++ << 8) | *dst];
+		dst++;
+		*dst = table[(*src++ << 8) | *dst];
+		dst++;
+		*dst = table[(*src++ << 8) | *dst];
+		dst++;
 		*dst++ = *src++;
 	}