From c9567b132d2c7d2c36a8f2bccae3219657076fa6 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Sat, 20 Oct 2012 19:30:14 -0400 Subject: [PATCH] Fix command line tool after git reorganization. --- CLTool/src/clunix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CLTool/src/clunix.cpp b/CLTool/src/clunix.cpp index 4869398..bd9ac3e 100644 --- a/CLTool/src/clunix.cpp +++ b/CLTool/src/clunix.cpp @@ -115,6 +115,8 @@ int main(int argc, char **argv) { return 1; } + const Image *img = file.GetImage(); + int numBlocks = (img->GetWidth() * img->GetHeight())/16; BlockStatManager *statManager = NULL; if(bSaveLog) {