1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-06 22:04:17 +01:00
Files
gryf-overlay/media-plugins/xmms-blursk/files/xmms-blursk-1.3-segfault.patch
2010-02-09 21:25:29 +01:00

27 lines
1.1 KiB
Diff

diff -urN Blursk-1.3.orig/blursk.h Blursk-1.3/blursk.h
--- Blursk-1.3.orig/blursk.h 2005-11-09 16:33:15.000000000 -0500
+++ Blursk-1.3/blursk.h 2005-11-09 16:33:42.000000000 -0500
@@ -132,8 +132,8 @@
extern guchar **img_source;
extern guint img_height, img_physheight;
extern guint img_width, img_physwidth;
-extern guint img_bpl, img_physbpl;
-extern guint img_chunks;
+extern gint img_bpl;
+extern guint img_chunks, img_physbpl;
extern guchar img_rippleshift;
extern void img_resize(int, int);
extern void img_copyback(void);
diff -urN Blursk-1.3.orig/img.c Blursk-1.3/img.c
--- Blursk-1.3.orig/img.c 2005-11-09 16:33:15.000000000 -0500
+++ Blursk-1.3/img.c 2005-11-09 16:33:49.000000000 -0500
@@ -30,7 +30,7 @@
guchar **img_source; /* an array of pixel pointers, for blur motion */
guint img_height; /* height of the current image */
guint img_width; /* width of the current image */
-guint img_bpl; /* bytes per line of the current image */
+gint img_bpl; /* bytes per line of the current image */
guint img_chunks; /* number of 8-pixel chunks in the image */
guint img_physheight; /* height of the current window */