From: Good Guy Date: Wed, 16 Aug 2017 22:03:08 +0000 (-0600) Subject: hard to get good help these days X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=32582a27c8f7594ccb06a33a1f0662478a8acfff;p=goodguy%2Fhistory.git hard to get good help these days --- diff --git a/cinelerra-5.1/plugins/C41/c41.C b/cinelerra-5.1/plugins/C41/c41.C index b7160b75..f4d3fcfe 100644 --- a/cinelerra-5.1/plugins/C41/c41.C +++ b/cinelerra-5.1/plugins/C41/c41.C @@ -795,11 +795,11 @@ int C41Effect::process_realtime(VFrame *input, VFrame *output) if( config.show_box ) { EDLSession *session = get_edlsession(); int line_w = bmax(session->output_w,session->output_h) / 600 + 1; - for( int j=0; jget_rows(); if( min_row < max_row - 1 ) { - float *row1 = (float *)rows[min_row+j]; - float *row2 = (float *)rows[max_row-j - 1]; + float *row1 = (float *)rows[min_row+k]; + float *row2 = (float *)rows[max_row-k - 1]; for( int i = 0; i < frame_w; i++ ) { for( int j = 0; j < 3; j++ ) { @@ -816,8 +816,8 @@ int C41Effect::process_realtime(VFrame *input, VFrame *output) } if( min_col < max_col - 1 ) { - int pix1 = pix_len * min_col+j; - int pix2 = pix_len * (max_col-j - 1); + int pix1 = pix_len * (min_col+k); + int pix2 = pix_len * (max_col-k - 1); for( int i = 0; i < frame_h; i++ ) { float *row1 = rows[i] + pix1;