projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add timecode units/alignment/probe, add prefs auto_rotate,
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
guicast
/
bccmodels.C
diff --git
a/cinelerra-5.1/guicast/bccmodels.C
b/cinelerra-5.1/guicast/bccmodels.C
index 13df1c31ad11ee0ab7c7b5de7177dc45520a59bb..38c2c4b05d80664991cc93731d6329a9b7fa29ee 100644
(file)
--- a/
cinelerra-5.1/guicast/bccmodels.C
+++ b/
cinelerra-5.1/guicast/bccmodels.C
@@
-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)