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:
@@ -78,7 +78,7 @@ int diff_malloc(void **d, int width, int height)
|
||||
my->current = my->data + (width*height);
|
||||
|
||||
if(static_bg == NULL)
|
||||
static_bg = (uint8_t*) vj_calloc( ru8(width * height * sizeof(uint8_t)) );
|
||||
static_bg = (uint8_t*) vj_calloc( ru8( width + width * height * sizeof(uint8_t)) );
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user