add timecode units/alignment/probe, add prefs auto_rotate,
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / vframe.C
index c1ff05237bfdc65c743d1330fb538d55fa583c87..d85245bd0024fe33e247e4dbeb5990fa926c06ee 100644 (file)
@@ -416,7 +416,7 @@ long VFrame::get_bytes_per_line()
 
 long VFrame::get_data_size()
 {
-       return calculate_data_size(w, h, bytes_per_line, color_model) - 4;
+       return calculate_data_size(w, h, bytes_per_line, color_model) - BC_COLOR_ALIGN;
 }
 
 long VFrame::calculate_data_size(int w, int h, int bytes_per_line, int color_model)