clear buffer

git-svn-id: svn://code.dyne.org/veejay/trunk@810 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2007-02-24 21:06:39 +00:00
parent 86e6103717
commit e94ea2c04c

View File

@@ -75,10 +75,14 @@ int timedistort_malloc( int w, int h )
if(!nonmap)
return 0;
planes[0] = vj_calloc( (PLANES * 3 * w * h) * sizeof(uint8_t));
planes[0] = vj_malloc( (PLANES * 3 * w * h) * sizeof(uint8_t));
planes[1] = planes[0] + (PLANES * w * h );
planes[2] = planes[1] + (PLANES * w * h );
veejay_memset( planes[0],0, (PLANES * w * h ));
veejay_memset( planes[1],128,(PLANES * w * H ));
veejay_memset( planes[2],128,(PLANES * w * H ));
have_bg = 0;
n__ = 0;
N__ = 0;