==Sequencer==
[blender.git] / release / plugins / sequence / blur.c
index 975a0c8df93eb93f00b1a1b1478fad632fb3c35b..9687d04e066cf4680258e810beda915b9f8d8190 100644 (file)
@@ -115,7 +115,7 @@ void blurbuf(struct ImBuf *ibuf, int nr, Cast *cast)
                }
                if(tbuf->x<4 || tbuf->y<4) break;
        }
-       
+
        /* enlarge */
        for(i=0; i<nr; i++) {
                ttbuf = double_x(tbuf);
@@ -137,6 +137,7 @@ void blurbuf(struct ImBuf *ibuf, int nr, Cast *cast)
        
        if(cast->gamma != 1.0) gamwarp(tbuf, 1.0 / cast->gamma);
 
+       /* Very bad code warning! This fails badly with float-buffers!!! */
        freeN(ibuf->rect);
        ibuf->rect= tbuf->rect;
        freeN(tbuf);