mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-20 14:50:01 +01:00
fixed possible segfault in mmx blur
git-svn-id: svn://code.dyne.org/veejay/trunk@867 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -159,7 +159,7 @@ static void mmx_blur(uint8_t *buffer, int width, int height)
|
||||
|
||||
len = (width*height)-1;
|
||||
|
||||
for (i = len; i > scrsh; i -= 4) {
|
||||
for (i = len-1; i > scrsh; i -= 4) {
|
||||
__asm __volatile
|
||||
("\n\t movd %[buf], %%mm0"
|
||||
"\n\t movd %[add1], %%mm1"
|
||||
|
||||
Reference in New Issue
Block a user