initialize structs to zero rather then using memset().

This commit is contained in:
2010-10-31 15:39:37 +00:00
parent 4c80d13e54
commit 3367ef8b65
32 changed files with 67 additions and 147 deletions

View File

@@ -1474,13 +1474,10 @@ static ImBuf * input_preprocess(
}
if(seq->flag & (SEQ_USE_CROP|SEQ_USE_TRANSFORM)) {
StripCrop c;
StripTransform t;
StripCrop c= {0};
StripTransform t= {0};
int sx,sy,dx,dy;
memset(&c, 0, sizeof(StripCrop));
memset(&t, 0, sizeof(StripTransform));
if(seq->flag & SEQ_USE_CROP && seq->strip->crop) {
c = *seq->strip->crop;
}