==Sequencer==
[blender.git] / source / blender / imbuf / intern / rectop.c
index c764d06b500d02d8be0e82bb59711012511fcb25..1b806b8fa1f6441a776ebecb8466fd205af64002 100644 (file)
@@ -51,7 +51,7 @@ void IMB_rectcpy(struct ImBuf *dbuf, struct ImBuf *sbuf, int destx,
 
        if (dbuf == NULL) return;
        
-       if (sbuf->rect_float) do_float = 1;
+       if (sbuf && sbuf->rect_float && dbuf->rect_float) do_float = 1;
 
        if (destx < 0){
                srcx -= destx ;