X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbccmodels.C;h=60e80b50f34490ae65dcd59c7967593622d5dda0;hb=6c6367a007ab0f67538ad165e5815e66183a3997;hp=13df1c31ad11ee0ab7c7b5de7177dc45520a59bb;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/guicast/bccmodels.C b/cinelerra-5.1/guicast/bccmodels.C index 13df1c31..60e80b50 100644 --- a/cinelerra-5.1/guicast/bccmodels.C +++ b/cinelerra-5.1/guicast/bccmodels.C @@ -1,16 +1,16 @@ /* - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * This library is distributed in the hope that it will be useful, but + * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ @@ -183,7 +183,7 @@ int BC_CModels::calculate_datasize(int w, int h, int bytes_per_line, int color_m } if( bytes_per_line < 0 ) bytes_per_line = w * calculate_pixelsize(color_model); - return h * bytes_per_line + 4; + return h * bytes_per_line + BC_COLOR_ALIGN; } int BC_CModels::bc_to_x(int color_model)