X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftimefront%2Ftimefront.C;h=2fdfab31492dc960b90890c0b8fef0bb02ea7a94;hb=9a91a25bfcf0a01f410f2a27584c8a6c524d37d1;hp=82dbd59a9978842aea91b8cba0cfe5f72e971e49;hpb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/timefront/timefront.C b/cinelerra-5.1/plugins/timefront/timefront.C index 82dbd59a..2fdfab31 100644 --- a/cinelerra-5.1/plugins/timefront/timefront.C +++ b/cinelerra-5.1/plugins/timefront/timefront.C @@ -746,11 +746,12 @@ int TimeFrontMain::is_synthesis() { \ unsigned int choice = invertion gradient_row[j]; \ { \ - out_row[0] = framelist[choice]->get_rows()[i][j * components + 0]; \ - out_row[1] = framelist[choice]->get_rows()[i][j * components + 1]; \ - out_row[2] = framelist[choice]->get_rows()[i][j * components + 2]; \ + type *in_row = (type *)framelist[choice]->get_rows()[i]; \ + out_row[0] = in_row[j * components + 0]; \ + out_row[1] = in_row[j * components + 1]; \ + out_row[2] = in_row[j * components + 2]; \ if (components == 4) \ - out_row[3] = framelist[choice]->get_rows()[i][j * components + 3]; \ + out_row[3] = in_row[j * components + 3]; \ } \ out_row += components; \ } \